XML 36 R25.htm IDEA: XBRL DOCUMENT v3.20.4
Fair Value Measurements (Tables)
9 Months Ended
Jan. 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 January 31, 2021As of April 30, 2020
Level 1Level 2Level 3TotalLevel 1Level 2Level 3Total
Money market funds$900,292 $— $— $900,292 $10,260 $— $— $10,260 
U.S. treasury securities
— 158,377 — 158,377 — 11,500 — 11,500 
Certificate of deposit— 3,503 — 3,503 — 28,477 — 28,477 
U.S. government agencies securities
— — — — — 10,074 — 10,074 
Commercial paper— 2,000 — 2,000 — 94,397 — 94,397 
Corporate debt securities
— — — — — 68,425 — 68,425 
$900,292 $163,880 $— $1,064,172 $10,260 $212,873 $— $223,133