XML 28 R13.htm IDEA: XBRL DOCUMENT
v3.21.2

Investments | 6 Months Ended
--- | ---
Oct. 31, 2021
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 October 31, 2021 |  | As of As of April 30, 2021
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Estimated Fair Value |  | Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Estimated Fair Value
Cash equivalents: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Money market funds | $ | 98,392 |  |  | $ | — |  |  | $ | — |  |  | $ | 98,392 |  |  | $ | 43,401 |  |  | $ | — |  |  | $ | — |  |  | $ | 43,401 |
Corporate debt securities | 2,588 |  |  | — |  |  | — |  |  | 2,588 |  |  | — |  |  | — |  |  | — |  |  | — |
Available-for-sale marketable securities: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
U.S. treasury securities | 2,000 |  |  | — |  |  | — |  |  | 2,000 |  |  | 57,993 |  |  | 5 |  |  | — |  |  | 57,998 |
Certificates of deposit | 338,482 |  |  | 9 |  |  | (1) |  |  | 338,490 |  |  | 422,952 |  |  | 32 |  |  | (6) |  |  | 422,978 |
U.S. government agencies securities | 15,815 |  |  | — |  |  | (22) |  |  | 15,793 |  |  | — |  |  | — |  |  | — |  |  | — |
Commercial paper | 388,178 |  |  | 13 |  |  | (1) |  |  | 388,190 |  |  | 494,625 |  |  | 64 |  |  | (13) |  |  | 494,676 |
Corporate debt securities | 160,470 |  |  | 7 |  |  | (245) |  |  | 160,232 |  |  | 2,369 |  |  | — |  |  | (1) |  |  | 2,368 |
Total cash equivalents and available-for-sale marketable securities | $ | 1,005,925 |  |  | $ | 29 |  |  | $ | (269) |  |  | $ | 1,005,685 |  |  | $ | 1,021,340 |  |  | $ | 101 |  |  | $ | (20) |  |  | $ | 1,021,421 |
The following table summarizes the Company’s available-for-sale marketable securities by contractual maturity (in thousands):
| As of October 31, 2021 |  | As of April 30, 2021
| Amortized Cost |  | Fair Value |  | Amortized Cost |  | Fair Value
Within one year | $ | 803,037 |  |  | $ | 802,986 |  |  | $ | 977,939 |  |  | $ | 978,020 |
After one year through five years | 101,908 |  |  | 101,719 |  |  | — |  |  | — |
Total | $ | 904,945 |  |  | $ | 904,705 |  |  | $ | 977,939 |  |  | $ | 978,020 |
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 October 31, 2021 (in thousands):
| As of October 31, 2021
| Less Than 12 Months |  | 12 Months or Greater |  | Total
| Unrealized Losses |  | Fair Value |  | Unrealized Losses |  | Fair Value |  | Unrealized Losses |  | Fair Value
Certificates of deposit | $ | (1) |  |  | $ | 29,399 |  |  | $ | — |  |  | $ | — |  |  | $ | (1) |  |  | $ | 29,399 |
U.S. government agencies securities | — |  |  | — |  |  | (22) |  |  | 15,793 |  |  | (22) |  |  | 15,793 |
Commercial paper | (1) |  |  | 29,667 |  |  | — |  |  | — |  |  | (1) |  |  | 29,667 |
Corporate debt securities | (73) |  |  | 72,601 |  |  | (172) |  |  | 83,414 |  |  | (245) |  |  | 156,015 |
Total | $ | (75) |  |  | $ | 131,667 |  |  | $ | (194) |  |  | $ | 99,207 |  |  | $ | (269) |  |  | $ | 230,874 |
As of October 31, 2021, the Company had 130 investment positions in an unrealized loss position. As of April 30, 2021, the Company had eight 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 October 31, 2021.

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for investments in certain debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2209399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2324412 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI http://asc.fasb.org/topic&trid=2196928 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2176304 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1403 -Paragraph (b) + Details
Name: | us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration