XML 36 R25.htm IDEA: XBRL DOCUMENT v3.22.4
Investments (Tables)
9 Months Ended
Jan. 31, 2023
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, 2023As of April 30, 2022
Amortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair ValueAmortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair Value
Cash equivalents:
Money market funds$155,476 $— $— $155,476 $107,726 $— $— $107,726 
Certificates of deposit— — 3,000 — — 3,000 
Commercial paper121,995 — — 121,995 142,511 — — 142,511 
Corporate debt securities3,325 — 3,327 8,889 — (5)8,884 
Available-for-sale marketable securities:
U.S. treasury securities12,506 — (64)12,442 12,764 — (1)12,763 
Certificates of deposit64,252 — — 64,252 97,205 — — 97,205 
U.S. government agencies securities26,627 — (199)26,428 14,113 — (223)13,890 
Commercial paper180,413 — — 180,413 241,134 — (2)241,132 
Corporate debt securities195,906 48 (822)195,132 289,646 20 (1,937)287,729 
Total cash equivalents and available-for-sale marketable securities$760,500 $50 $(1,085)$759,465 $916,988 $20 $(2,168)$914,840 
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, 2023As of April 30, 2022
Amortized CostFair ValueAmortized CostFair Value
Within one year$462,308 $461,298 $622,517 $620,633 
After one year through five years17,396 17,369 32,345 32,086 
Total$479,704 $478,667 $654,862 $652,719 
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, 2023 (in thousands):
As of January 31, 2023
Less Than 12 Months12 Months or GreaterTotal
Unrealized LossesFair ValueUnrealized LossesFair ValueUnrealized LossesFair Value
U.S. treasury securities$(64)$12,441 $— $— $(64)$12,441 
U.S. government agencies securities(198)24,058 (1)1,092 (199)25,150 
Commercial paper— 8,002 — — — 8,002 
Corporate debt securities(791)153,031 (31)6,103 (822)159,134 
Total$(1,053)$197,532 $(32)$7,195 $(1,085)$204,727