XML 27 R12.htm IDEA: XBRL DOCUMENT
v3.21.2

Fair Value Measurements | 6 Months Ended
--- | ---
Oct. 31, 2021
Fair Value Disclosures [Abstract] |
Fair Value Measurements | Fair Value Measurements The Company’s financial instruments consist primarily of cash equivalents, restricted cash, available-for-sale marketable securities, accounts receivable, and accounts payable. Cash and cash equivalents and available-for-sale marketable securities are reported at their respective fair values on the condensed consolidated balance sheets. The remaining financial instruments are reported on the condensed consolidated balance sheets at amounts that approximate current fair values. The following table summarizes the types of assets measured at fair value on a recurring basis by level within the fair value hierarchy (in thousands):
| As of October 31, 2021 |  | As of April 30, 2021
| Level 1 |  | Level 2 |  | Level 3 |  | Total |  | Level 1 |  | Level 2 |  | Level 3 |  | Total
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,998 |  |  | — |  |  | 57,998 |
Certificates of deposit | — |  |  | 338,490 |  |  | — |  |  | 338,490 |  |  | — |  |  | 422,978 |  |  | — |  |  | 422,978 |
U.S. government agencies securities | — |  |  | 15,793 |  |  | — |  |  | 15,793 |  |  | — |  |  | — |  |  | — |  |  | — |
Commercial paper | — |  |  | 388,190 |  |  | — |  |  | 388,190 |  |  | — |  |  | 494,676 |  |  | — |  |  | 494,676 |
Corporate debt securities | — |  |  | 160,232 |  |  | — |  |  | 160,232 |  |  | — |  |  | 2,368 |  |  | — |  |  | 2,368 |
Total cash equivalents and available-for-sale marketable securities | $ | 98,392 |  |  | $ | 907,293 |  |  | $ | — |  |  | $ | 1,005,685 |  |  | $ | 43,401 |  |  | $ | 978,020 |  |  | $ | — |  |  | $ | 1,021,421 |
The estimated fair value of securities classified as Level 2 financial instruments was determined based on third-party pricing services. The pricing services utilize industry standard valuation models, including both income- and market-based approaches, for which all significant inputs are observable, either directly or indirectly, to estimate fair value. Inputs used for fair value measurement categorized as Level 2 include benchmark yields, reported trades, broker or dealer quotes, issuer spreads, two-sided markets, benchmark securities, bids, offers, and reference data including market research publications.

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

X
- Definition The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueDisclosuresTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration