Employee Benefit Plans - Additional Information (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2024 |
|
| United States | |||
| Defined Contribution Plan Disclosure [Line Items] | |||
| Defined contribution expense related to plan | $ 22.3 | $ 19.6 | $ 18.4 |
| Other Countries | |||
| Defined Contribution Plan Disclosure [Line Items] | |||
| Defined contribution expense related to plan | $ 16.4 | $ 14.6 | $ 12.7 |
| Maximum | United States | |||
| Defined Contribution Plan Disclosure [Line Items] | |||
| Percentage of defined contribution to participating employees | 6.00% | ||