Employee Benefit Plans - Additional Information (Details) - USD ($) $ in Millions |
3 Months Ended | |
|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| United States | ||
| Defined Contribution Plan Disclosure [Line Items] | ||
| Defined contribution expense related to plan | $ 6.4 | $ 5.7 |
| Other Countries | ||
| Defined Contribution Plan Disclosure [Line Items] | ||
| Defined contribution expense related to plan | $ 4.4 | $ 4.3 |
| Maximum | United States | ||
| Defined Contribution Plan Disclosure [Line Items] | ||
| Percentage of defined contribution to participating employees | 6.00% | |