Cash Equivalents and Marketable Securities (Tables)
|
3 Months Ended |
Jul. 31, 2026 |
| Investments, Debt and Equity Securities [Abstract] |
|
| Schedule of Available-For-Sale Debt Securities and Balance Sheet Classification |
The following table summarizes the Company’s cash equivalents and available-for-sale marketable securities (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of July 31, 2026 | | As of April 30, 2026 | | Amortized Cost | | Gross Unrealized Gains | | Gross Unrealized Losses | | Estimated Fair Value | | Amortized Cost | | Gross Unrealized Gains | | Gross Unrealized Losses | | Estimated Fair Value | | Cash equivalents: | | | | | | | | | | | | | | | | | Money market funds | $ | 80,478 | | | $ | — | | | $ | — | | | $ | 80,478 | | | $ | 52,715 | | | $ | — | | | $ | — | | | $ | 52,715 | | | Commercial paper | 12,401 | | | — | | | — | | | 12,401 | | | — | | | — | | | — | | | — | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corporate debt securities | 1,044 | | | — | | | — | | | 1,044 | | | — | | | — | | | — | | | — | | | Available-for-sale marketable securities: | | | | | | | | | | | | | | | | | U.S. treasury securities | 3,880 | | | — | | | — | | | 3,880 | | | — | | | — | | | — | | | — | | | Certificates of deposit | 74,665 | | | — | | | — | | | 74,665 | | | 92,112 | | | — | | | — | | | 92,112 | | | U.S. government agencies securities | 80,854 | | | 7 | | | (239) | | | 80,622 | | | 69,721 | | | 50 | | | (80) | | | 69,691 | | | Commercial paper | 108,768 | | | — | | | — | | | 108,768 | | | 103,824 | | | — | | | — | | | 103,824 | | | Corporate debt securities | 247,075 | | | 49 | | | (425) | | | 246,699 | | | 243,643 | | | 194 | | | (212) | | | 243,625 | | | Total cash equivalents and available-for-sale marketable securities | $ | 609,165 | | | $ | 56 | | | $ | (664) | | | $ | 608,557 | | | $ | 562,015 | | | $ | 244 | | | $ | (292) | | | $ | 561,967 | |
|
| Summary of Available-For-Sale Debt Securities by Contractual Maturity |
The following table summarizes the Company’s available-for-sale marketable securities by contractual maturity (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | As of July 31, 2026 | | As of April 30, 2026 | | Amortized Cost | | Fair Value | | Amortized Cost | | Fair Value | | Within one year | $ | 379,418 | | | $ | 379,321 | | | $ | 408,913 | | | $ | 409,023 | | | After one year through five years | 135,824 | | | 135,313 | | | 100,387 | | | 100,229 | | | Total | $ | 515,242 | | | $ | 514,634 | | | $ | 509,300 | | | $ | 509,252 | |
|
| Summary of Available-For-Sale Marketable Securities, Fair Values and Unrealized Losses |
The following table summarizes the fair values and unrealized losses of the Company’s available-for-sale marketable securities classified by length of time that the securities have been in a continuous unrealized loss position but were not deemed to be other-than-temporarily impaired (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of July 31, 2026 | | Less Than 12 Months | | 12 Months or Greater | | Total | | Unrealized Losses | | Fair Value | | Unrealized Losses | | Fair Value | | Unrealized Losses | | Fair Value | | U.S. treasury securities | $ | — | | | $ | 3,880 | | | $ | — | | | $ | — | | | $ | — | | | $ | 3,880 | | | | | | | | | | | | | | | U.S. government agencies securities | (206) | | | 40,546 | | | (33) | | | 18,517 | | | (239) | | | 59,063 | | | Commercial paper | — | | | 4,842 | | | — | | | — | | | — | | | 4,842 | | | Corporate debt securities | (321) | | | 124,675 | | | (104) | | | 39,863 | | | (425) | | | 164,538 | | | Total | $ | (527) | | | $ | 173,943 | | | $ | (137) | | | $ | 58,380 | | | $ | (664) | | | $ | 232,323 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of April 30, 2026 | | Less Than 12 Months | | 12 Months or Greater | | Total | | Unrealized Losses | | Fair Value | | Unrealized Losses | | Fair Value | | Unrealized Losses | | Fair Value | | U.S. treasury securities | $ | — | | | $ | — | | | $ | — | | | $ | — | | | $ | — | | | $ | — | | | | | | | | | | | | | | | U.S. government agencies securities | (66) | | | 17,919 | | | (14) | | | 11,221 | | | (80) | | | 29,140 | | | Commercial paper | — | | | — | | | — | | | — | | | — | | | — | | | Corporate debt securities | (145) | | | 79,438 | | | (67) | | | 21,330 | | | (212) | | | 100,768 | | | Total | $ | (211) | | | $ | 97,357 | | | $ | (81) | | | $ | 32,551 | | | $ | (292) | | | $ | 129,908 | |
|