XML 72 R62.htm IDEA: XBRL DOCUMENT v3.21.2
Leases - Additional Information Related to Leases (Details) - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Cash Paid For Amounts Included In The Measurement Of Lease Liabilities [Abstract]    
Operating cash flows for finance leases $ 52 $ 30
Operating cash flows for operating leases 12,798 12,164
Financing cash flows for financing leases 607 210
Right-of-use assets obtained in exchange for new finance lease liabilities 1,100 941
Right-of-use assets obtained in exchange for new operating lease liabilities $ 6,147 $ 6,788
Weighted average remaining lease term (years)    
Weighted average remaining lease term - finance leases 2 years 7 months 17 days 3 years 2 months 4 days
Weighted average remaining lease term - operating leases 6 years 1 month 28 days 7 years 29 days
Weighted average discount rate    
Weighted average discount rate - finance leases (as a percent) 2.86% 3.02%
Weighted average discount rate - operating leases (as a percent) 3.15% 3.31%