XML 38 R25.htm IDEA: XBRL DOCUMENT v3.21.2
Fair Value Measurements (Tables)
3 Months Ended
Jul. 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 July 31, 2021As of April 30, 2021
Level 1Level 2Level 3TotalLevel 1Level 2Level 3Total
Cash equivalents:
Money market funds$175,998 $— $— $175,998 $43,401 $— $— $43,401 
Commercial paper— 5,400 — 5,400 — — — — 
Corporate debt securities— 50 — 50 — — — — 
Available-for-sale marketable securities:
U.S. treasury securities— 1,999 — 1,999 — 57,998 — 57,998 
Certificates of deposit— 368,865 — 368,865 — 422,978 — 422,978 
Commercial paper— 430,191 — 430,191 — 494,676 — 494,676 
Corporate debt securities— 24,156 — 24,156 — 2,368 — 2,368 
Total cash equivalents and available-for-sale marketable securities$175,998 $830,661 $— $1,006,659 $43,401 $978,020 $— $1,021,421