XML 40 R25.htm IDEA: XBRL DOCUMENT v3.21.2
Investments (Tables)
6 Months Ended
Oct. 31, 2021
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 October 31, 2021As of As of April 30, 2021
Amortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair ValueAmortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair Value
Cash equivalents:
Money market funds$98,392 $— $— $98,392 $43,401 $— $— $43,401 
Corporate debt securities2,588 — — 2,588 — — — — 
Available-for-sale marketable securities:
U.S. treasury securities2,000 — — 2,000 57,993 — 57,998 
Certificates of deposit338,482 (1)338,490 422,952 32 (6)422,978 
U.S. government agencies securities15,815 — (22)15,793 — — — — 
Commercial paper388,178 13 (1)388,190 494,625 64 (13)494,676 
Corporate debt securities160,470 (245)160,232 2,369 — (1)2,368 
Total cash equivalents and available-for-sale marketable securities$1,005,925 $29 $(269)$1,005,685 $1,021,340 $101 $(20)$1,021,421 
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 October 31, 2021As of April 30, 2021
Amortized CostFair ValueAmortized CostFair Value
Within one year$803,037 $802,986 $977,939 $978,020 
After one year through five years101,908 101,719 — — 
Total$904,945 $904,705 $977,939 $978,020 
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, as of October 31, 2021 (in thousands):
As of October 31, 2021
Less Than 12 Months12 Months or GreaterTotal
Unrealized LossesFair ValueUnrealized LossesFair ValueUnrealized LossesFair Value
Certificates of deposit$(1)$29,399 $— $— $(1)$29,399 
U.S. government agencies securities— — (22)15,793 (22)15,793 
Commercial paper(1)29,667 — — (1)29,667 
Corporate debt securities(73)72,601 (172)83,414 (245)156,015 
Total$(75)$131,667 $(194)$99,207 $(269)$230,874