Employee Stock Plans - Schedule of Components of Stock-Based Compensation Expense Recognized (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2024 |
|
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | |||
| Total stock-based compensation expense | $ 47,682 | $ 47,961 | $ 39,970 |
| ESPP | |||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | |||
| Total stock-based compensation expense | 832 | 867 | 893 |
| Restricted stock | |||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | |||
| Total stock-based compensation expense | $ 46,850 | $ 47,094 | $ 39,077 |