Leases - Schedule of Supplemental Cash Flow Information Related to Leases (Details) - USD ($) $ in Thousands |
6 Months Ended | |
|---|---|---|
Oct. 31, 2025 |
Oct. 31, 2024 |
|
| Cash paid for amounts included in the measurement of lease liabilities: | ||
| Operating cash flows from operating leases | $ 21,835 | $ 24,597 |
| Financing cash flows from finance leases | 989 | 815 |
| ROU assets obtained in exchange for lease obligations: | ||
| Operating leases | 6,690 | 18,565 |
| Finance leases | $ 1,581 | $ 217 |
| X | ||||||||||
- Definition Cash paid for amounts included in measurement of lease liabilities. No definition available.
|
| X | ||||||||||
- Definition Right-of-use assets obtained in exchange for lease obligations. No definition available.
|
| X | ||||||||||
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for finance lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|