Employee Stock Plans - Schedule of Components of Stock-Based Compensation Expense Recognized (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||
| Total stock-based compensation expense | $ 12,448 | $ 11,009 |
| ESPP | ||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||
| Total stock-based compensation expense | 210 | 219 |
| Restricted Stock | ||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||
| Total stock-based compensation expense | $ 12,238 | $ 10,790 |