XML 41 R27.htm IDEA: XBRL DOCUMENT v3.22.2
Fair Value Measurements (Tables)
12 Months Ended
Apr. 30, 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 April 30, 2022As of April 30, 2021
Level 1Level 2Level 3TotalLevel 1Level 2Level 3Total
Cash equivalents:
Money market funds$107,726 $— $— $107,726 $43,401 $— $— $43,401 
Commercial paper— 142,511 — 142,511 — — — — 
Corporate debt securities— 8,884 — 8,884 — — — — 
Certificates of deposit— 3,000 — 3,000 — — — — 
Available-for-sale marketable securities:
U.S. treasury securities— 12,763 — 12,763 — 57,998 — 57,998 
Certificates of deposit— 97,205 — 97,205 — 422,978 — 422,978 
U.S. government agencies securities— 13,890 — 13,890 — — — — 
Commercial paper— 241,132 — 241,132 — 494,676 — 494,676 
Corporate debt securities— 287,729 — 287,729 — 2,368 — 2,368 
Total cash equivalents and available-for-sale marketable securities$107,726 $807,114 $— $914,840 $43,401 $978,020 $— $1,021,421