Stock-Based Compensation - Valuation Assumption, 2020 ESPP (Details) |
6 Months Ended | |
|---|---|---|
Oct. 31, 2024 |
Oct. 31, 2023 |
|
| Share-Based Payment Arrangement, Option, Exercise Price Range [Line Items] | ||
| Expected dividend yield | 0.00% | 0.00% |
| Expected term (years) | 6 years 1 month 6 days | 6 years 6 months |
| ESPP | 2020 Employee Stock Purchase Plan | ||
| Share-Based Payment Arrangement, Option, Exercise Price Range [Line Items] | ||
| Expected dividend yield | 0.00% | 0.00% |
| Expected volatility, minimum | 56.20% | 64.00% |
| Expected volatility, maximum | 75.30% | 70.10% |
| Risk-free interest rate, minimum | 3.60% | 5.00% |
| Risk-free interest rate, maximum | 4.60% | 5.50% |
| ESPP | 2020 Employee Stock Purchase Plan | Minimum | ||
| Share-Based Payment Arrangement, Option, Exercise Price Range [Line Items] | ||
| Expected term (years) | 6 months | 6 months |
| ESPP | 2020 Employee Stock Purchase Plan | Maximum | ||
| Share-Based Payment Arrangement, Option, Exercise Price Range [Line Items] | ||
| Expected term (years) | 2 years | 2 years |