Quarterly report pursuant to Section 13 or 15(d)

Leases - Additional Information (Detail)

v3.23.2
Leases - Additional Information (Detail) - USD ($)
3 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Lessee Lease Description [Line Items]    
Lease impairment cost $ 1,629,000 $ 0
Minimum    
Lessee Lease Description [Line Items]    
Lessee operating lease, term of contract 1 year  
Lessee finance lease, term of contract 1 year  
Maximum    
Lessee Lease Description [Line Items]    
Lessee operating lease, term of contract 9 years  
Lessee finance lease, term of contract 5 years