Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurement (Tables)

v3.21.2
Fair Value Measurement (Tables)
9 Months Ended
Oct. 31, 2021
Fair Value Disclosures [Abstract]  
Summary of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis
The following tables present the fair value hierarchy of our financial assets and liabilities measured at fair value on a recurring basis as of October 31, 2021 and January 31, 2021 (in thousands): 
  As of October 31, 2021
  Level 1 Level 2 Total
Financial assets:      
Money market $ 1,105,537  $ —  $ 1,105,537 
Corporate bonds —  1,174  1,174 
Total cash equivalents 1,105,537  1,174  1,106,711 
Commercial paper —  11,997  11,997 
Corporate bonds —  96,459  96,459 
Municipal bonds —  6,632  6,632 
Total marketable securities —  115,088  115,088 
Foreign currency derivative 187  187 
Total $ 1,105,537  $ 116,449  $ 1,221,986 
  As of January 31, 2021
  Level 1 Level 2 Total
Financial assets:      
Money market $ 198,523  $ —  $ 198,523 
Commercial paper —  19,999  19,999 
Corporate bonds —  1,477  1,477 
Total cash equivalents 198,523  21,476  219,999 
Commercial paper —  23,171  23,171 
Corporate bonds —  79,657  79,657 
Total marketable securities —  102,828  102,828 
Total $ 198,523  $ 124,304  $ 322,827 
Financial liabilities:
Foreign currency derivative $ —  $ 571  $ 571 
Total $ —  $ 571  $ 571