XML 38 R25.htm IDEA: XBRL DOCUMENT v3.22.0.1
Investments (Tables)
9 Months Ended
Jan. 31, 2022
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 January 31, 2022As of April 30, 2021
Amortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair ValueAmortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair Value
Cash equivalents:
Money market funds$129,753 $— $— $129,753 $43,401 $— $— $43,401 
Commercial paper10,998 — — 10,998 — — — — 
Corporate debt securities1,506 — — 1,506 — — — — 
Available-for-sale marketable securities:
U.S. treasury securities— — — — 57,993 — 57,998 
Certificates of deposit300,377 — 300,381 422,952 32 (6)422,978 
U.S. government agencies securities14,120 — (105)14,015 — — — — 
Commercial paper308,205 — 308,208 494,625 64 (13)494,676 
Corporate debt securities196,210 — (698)195,512 2,369 — (1)2,368 
Total cash equivalents and available-for-sale marketable securities$961,169 $$(803)$960,373 $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 January 31, 2022As of April 30, 2021
Amortized CostFair ValueAmortized CostFair Value
Within one year$764,589 $764,104 $977,939 $978,020 
After one year through five years54,323 54,012 — — 
Total$818,912 $818,116 $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 January 31, 2022 (in thousands):
As of January 31, 2022
Less Than 12 Months12 Months or GreaterTotal
Unrealized LossesFair ValueUnrealized LossesFair ValueUnrealized LossesFair Value
Certificates of deposit$— $12,500 $— $— $— $12,500 
U.S. government agencies securities— — (105)14,015 (105)14,015 
Commercial paper— 14,493 — — — 14,493 
Corporate debt securities(490)154,515 (208)38,297 (698)192,812 
Total$(490)$181,508 $(313)$52,312 $(803)$233,820