XML 45 R27.htm IDEA: XBRL DOCUMENT v3.21.2
Investments (Tables)
12 Months Ended
Apr. 30, 2021
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, 2021As of April 30, 2020
Amortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair ValueAmortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair Value
Cash equivalents:
Money market funds$43,401 $— $— $43,401 $10,260 $— $— $10,260 
Available-for-sale marketable securities:
U.S. treasury securities57,993 — 57,998 11,489 11 — 11,500 
Certificates of deposit422,952 32 (6)422,978 28,476 — 28,477 
U.S. government agencies securities— — — — 9,995 79 — 10,074 
Commercial paper494,625 64 (13)494,676 94,242 155 — 94,397 
Corporate debt securities2,369 — (1)2,368 68,246 179 — 68,425 
Total cash equivalents and available-for-sale marketable securities$1,021,340 $101 $(20)$1,021,421 $222,708 $425 $— $223,133 
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, 2021As of April 30, 2020
Amortized CostFair ValueAmortized CostFair Value
Within one year$977,939 $978,020 $212,449 $212,873 
After one year through five years— — — — 
Total$977,939 $978,020 $212,449 $212,873