Net Loss Per Share Attributable to Common Stockholders - Potential Shares Excluded From Computation of Diluted Net Loss Per Share (Details) - shares shares in Thousands |
3 Months Ended | |
|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| 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) | 23,681 | 28,216 |
| 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) | 22,683 | 27,692 |
| 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) | 1,933 | 1,159 |