XML 24 R13.htm IDEA: XBRL DOCUMENT v3.22.4
Investments
9 Months Ended
Jan. 31, 2023
Investments, Debt and Equity Securities [Abstract]  
Investments Investments
Cash Equivalents and Available-for-Sale Marketable Securities
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 
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 
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 
As of January 31, 2023, the Company had 175 investment positions in an unrealized loss position. As of April 30, 2022, the Company had 284 investment positions that were in an unrealized loss position. The Company considers factors such as the duration, the magnitude and the reason for the decline in value, the potential recovery period, creditworthiness of the issuers of the securities and its intent to sell. For marketable securities, it also considers whether (i) it is more likely than not that the Company will be required to sell the debt securities before recovery of their amortized cost basis, and (ii) the amortized cost basis cannot be recovered as a result of credit losses. No significant facts or circumstances have arisen to indicate that there has been any significant deterioration in the creditworthiness of the issuers of the securities held by the Company. Based on the Company’s review of these securities, including the assessment of the duration and severity of the unrealized losses and the Company’s ability and intent to hold the investments until maturity, there were no other-than-temporary impairments for these marketable securities at January 31, 2023.