Employee Stock Plans - Schedule of Components of Stock-Based Compensation Expense Recognized (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Oct. 31, 2025 |
Oct. 31, 2024 |
Oct. 31, 2025 |
Oct. 31, 2024 |
|
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation expense | $ 12,526 | $ 11,380 | $ 23,535 | $ 22,163 |
| Employee Stock Purchase Plan ("ESPP") | ||||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation expense | 223 | 229 | 442 | 451 |
| Restricted Stock Awards | ||||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation expense | $ 12,303 | $ 11,151 | $ 23,093 | $ 21,712 |