XML 37 R24.htm IDEA: XBRL DOCUMENT v3.22.0.1
Fair Value Measurements (Tables)
9 Months Ended
Jan. 31, 2022
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 January 31, 2022As of April 30, 2021
Level 1Level 2Level 3TotalLevel 1Level 2Level 3Total
Cash equivalents:
Money market funds$129,753 $— $— $129,753 $43,401 $— $— $43,401 
Commercial paper— 10,998 — 10,998 — — — — 
Corporate debt securities— 1,506 — 1,506 — — — — 
Available-for-sale marketable securities:
U.S. treasury securities— — — — — 57,998 — 57,998 
Certificates of deposit— 300,381 — 300,381 — 422,978 — 422,978 
U.S. government agencies securities— 14,015 — 14,015 — — — — 
Commercial paper— 308,208 — 308,208 — 494,676 — 494,676 
Corporate debt securities— 195,512 — 195,512 — 2,368 — 2,368 
Total cash equivalents and available-for-sale marketable securities$129,753 $830,620 $— $960,373 $43,401 $978,020 $— $1,021,421