XML 42 R28.htm IDEA: XBRL DOCUMENT v3.22.2
Investments (Tables)
12 Months Ended
Apr. 30, 2022
Investments, Debt and Equity Securities [Abstract]  
Schedule of Cash Equivalents and Available-For-Sale Marketable Securities and Balance Sheet Classification
The following table summarizes the Company’s cash equivalents and available-for-sale marketable securities (in thousands):
As of April 30, 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$107,726 $— $— $107,726 $43,401 $— $— $43,401 
Commercial paper142,511 — — 142,511 — — — — 
Corporate debt securities8,889 — (5)8,884 — — — — 
Certificates of deposit3,000 — — 3,000 — — — — 
Available-for-sale marketable securities:
U.S. treasury securities12,764 — (1)12,763 57,993 — 57,998 
Certificates of deposit97,205 — — 97,205 422,952 32 (6)422,978 
U.S. government agencies securities14,113 — (223)13,890 — — — — 
Commercial paper241,134 — (2)241,132 494,625 64 (13)494,676 
Corporate debt securities289,646 20 (1,937)287,729 2,369 — (1)2,368 
Total cash equivalents and available-for-sale marketable securities$916,988 $20 $(2,168)$914,840 $1,021,340 $101 $(20)$1,021,421 
Summary of Available-For-Sale Marketable Securities by Contractual Maturity
The following table summarizes the Company’s available-for-sale marketable securities by contractual maturity (in thousands):
As of April 30, 2022As of April 30, 2021
Amortized CostFair ValueAmortized CostFair Value
Within one year$622,517 $620,633 $977,939 $978,020 
After one year through five years32,345 32,086 — — 
Total$654,862 $652,719 $977,939 $978,020 
Summary of Fair Values and Unrealized Losses of Available-For-Sale Marketable Securities In Continuous Unrealized Loss Position 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 April 30, 2022 (in thousands):
As of April 30, 2022
Less Than 12 Months12 Months or GreaterTotal
Unrealized LossesFair ValueUnrealized LossesFair ValueUnrealized LossesFair Value
U.S. treasury securities$(1)$12,763 $— $— $(1)$12,763 
Certificates of deposit— — — — — — 
U.S. government agencies securities(223)13,897 — — (223)13,897 
Commercial paper(2)2,996 — — (2)2,996 
Corporate debt securities(1,678)248,176 (259)31,194 (1,937)279,370 
Total$(1,904)$277,832 $(259)$31,194 $(2,163)$309,026