Income Taxes - Summary of Unrecognized Gross Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2024 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
| Balance as of beginning of year | $ 29,625 | $ 22,691 | $ 18,157 |
| (Decrease) increase related to tax positions taken in prior periods | 3,003 | (1,553) | (1,201) |
| Increase related to tax positions taken in the current period | 4,038 | 5,381 | 3,333 |
| Decrease related settlement with tax authorities | (991) | 0 | 0 |
| Balance as of end of year | $ 29,669 | $ 29,625 | $ 22,691 |