Operating Leases - Other Supplemental Information for Operating Leases (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Leases [Abstract] | ||
| Weighted-average remaining contractual lease term (years) | 6 years | 7 years |
| Weighted-average discount rate | 6.23% | 6.19% |
| Cash paid for amounts included in the measurement of lease liabilities: | ||
| Operating cash flows from operating leases | $ 5,451 | $ 5,993 |
| Operating lease liabilities arising from obtaining ROU assets | $ 2,323 | $ 578 |