XML 39 R24.htm IDEA: XBRL DOCUMENT v3.21.2
Fair Value Measurements (Tables)
6 Months Ended
Oct. 31, 2021
Fair Value Disclosures [Abstract]  
Schedule of Assets Measured at Fair Value on a Recurring Basis
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, 2021As of April 30, 2021
Level 1Level 2Level 3TotalLevel 1Level 2Level 3Total
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