Net Loss Per Share Attributable to Common Stockholders - Potential Shares Excluded From Computation of Diluted Net Loss Per Share (Details) - shares |
12 Months Ended | ||
|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2024 |
|
| Stock options | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Potentially antidilutive shares excluded from computation of net loss per share (in shares) | 32,419,000 | 28,477,000 | 31,371,000 |
| RSUs | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Potentially antidilutive shares excluded from computation of net loss per share (in shares) | 19,414,000 | 23,774,000 | 19,283,000 |
| ESPP | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Potentially antidilutive shares excluded from computation of net loss per share (in shares) | 2,223,000 | 1,349,000 | 731,000 |