Stock-Based Compensation (Tables)
|
12 Months Ended |
Apr. 30, 2026 |
| Share-Based Payment Arrangement [Abstract] |
|
| Summary of Stock Option Activity |
A summary of the Company’s option activity during the periods indicated was as follows: | | | | | | | | | | | | | | | | | | | | | | | | | Options Outstanding | | Number of Stock Options Outstanding | | Weighted Average Exercise Price | | Weighted Average Remaining Contractual Life (years) | | Aggregate Intrinsic Value | | (in thousands) | | | | | | (in thousands) | | Balance as of April 30, 2024 | 31,328 | | | $ | 13.97 | | | 5.68 | | $ | 268,167 | | | Options granted | 1,187 | | | 23.43 | | | | | | | Options exercised | (3,425) | | | 5.97 | | | | | | | Options cancelled | (613) | | | 23.13 | | | | | | | Balance as of April 30, 2025 | 28,477 | | | $ | 15.13 | | | 5.01 | | $ | 195,923 | | | Options granted | 7,034 | | | 12.25 | | | | | | | Options exercised | (2,605) | | | 2.95 | | | | | | | Options cancelled | (487) | | | 18.34 | | | | | | | Balance as of April 30, 2026 | 32,419 | | | $ | 15.44 | | | 5.32 | | $ | — | | | Vested and exercisable as of April 30, 2026 | 24,067 | | | $ | 15.05 | | | 4.00 | | $ | — | | | Vested and expected to vest as of April 30, 2026 | 32,419 | | | $ | 15.44 | | | 5.32 | | $ | — | |
|
| Schedule of Valuation Assumptions |
The assumptions underlying the fair value estimation are provided in the following table: | | | | | | | | | | | | | | | | | | | Fiscal Year Ended April 30, | | 2026 | | 2025 | | 2024 | | Valuation assumptions: | | | | | | | Expected dividend yield | — | % | | — | % | | — | % | | Expected volatility | 68.5 - 71.0% | | 65.5 - 66.2% | | 62.3 - 62.3% | | Expected term (years) | 5.8 - 6.5 | | 6.0 - 6.5 | | 6.5 - 6.5 | | Risk-free interest rate | 3.7 - 3.95% | | 3.5 - 4.6% | | 4.7 - 4.7% |
|
| Schedule of Restricted Stock Unit Activity |
A summary of the Company’s RSU activities and related information is as follows: | | | | | | | | | | | | | RSUs Outstanding | | Number of RSUs | | Weighted Average Grant Date Fair Value Per Share | | (in thousands) | | | | Unvested Balance as of April 30, 2024 | 19,283 | | | $ | 24.26 | | | RSUs granted | 14,731 | | | 28.43 | | | RSUs vested | (6,478) | | | 27.39 | | | RSUs forfeited | (3,762) | | | 27.33 | | | Unvested Balance as of April 30, 2025 | 23,774 | | | $ | 25.99 | | | RSUs granted | 17,830 | | | 18.96 | | | RSUs vested | (10,561) | | | 22.87 | | | RSUs forfeited | (11,629) | | | 24.87 | | | Unvested Balance as of April 30, 2026 | 19,414 | | | $ | 21.91 | |
|
| Schedule of Valuation Assumptions Under ESPP |
The following assumptions were used to calculate the fair value of shares to be granted under the 2020 ESPP during the period: | | | | | | | | | | | | | | | | | Fiscal Year Ended April 30, | | | 2026 | 2025 | 2024 | | Valuation assumptions: | | | | | | Expected dividend yield | | — | % | — | % | — | % | | Expected volatility | | 63.9 - 67.6% | 56.2 - 79.8% | 54.5 - 73.3% | | Expected term (years) | | 0.5 - 2.0 | 0.5 - 2.0 | 0.50 - 2.0 | | Risk-free interest rate | | 3.51 - 3.8% | 3.6 - 4.6% | 4.7 - 5.5% |
|
| Summary of Effects of Stock-Based Compensation |
The following table summarizes the effects of stock-based compensation on the Company’s consolidated statements of operations (in thousands): | | | | | | | | | | | | | | | | | | | Fiscal Year Ended April 30, | | 2026 | | 2025 | | 2024 | | Cost of subscription | $ | 35,616 | | | $ | 30,480 | | | $ | 34,032 | | | Cost of professional services | 1,897 | | | 3,180 | | | 1,288 | | | Sales and marketing | 95,531 | | | 83,960 | | | 71,751 | | | Research and development | 79,221 | | | 71,629 | | | 72,036 | | | General and administrative | 51,450 | | | 41,739 | | | 36,654 | | | Total stock-based compensation expense excluding restructuring | 263,715 | | | 230,988 | | | 215,761 | | | Restructuring | 4,817 | | | — | | | — | | | Total stock-based compensation expense | $ | 268,532 | | | $ | 230,988 | | | $ | 215,761 | |
|