XML 63 R40.htm IDEA: XBRL DOCUMENT v3.22.2.2
Fair Value Measurements - Fair Value of Financial Assets and Liabilities (Details) - USD ($)
$ in Thousands
Jul. 31, 2022
Jul. 31, 2021
Financial Assets:    
Short-term investments: $ 921,429 $ 928,006
Recurring    
Financial Assets:    
Total measured at fair value 1,177,152 1,032,588
Cash 147,127 181,141
Total cash, cash equivalents and short-term investments 1,324,279 1,213,729
Recurring | U.S. Government securities    
Financial Assets:    
Short-term investments: 194,667 67,230
Recurring | Corporate bonds    
Financial Assets:    
Cash equivalents:   2,002
Short-term investments: 409,024 513,688
Recurring | Commercial paper    
Financial Assets:    
Cash equivalents: 27,927 29,997
Short-term investments: 317,738 347,088
Recurring | Money market funds    
Financial Assets:    
Cash equivalents: 227,796 72,583
Recurring | Level I    
Financial Assets:    
Total measured at fair value 227,796 72,583
Recurring | Level I | U.S. Government securities    
Financial Assets:    
Short-term investments: 0 0
Recurring | Level I | Corporate bonds    
Financial Assets:    
Cash equivalents:   0
Short-term investments: 0 0
Recurring | Level I | Commercial paper    
Financial Assets:    
Cash equivalents: 0 0
Short-term investments: 0 0
Recurring | Level I | Money market funds    
Financial Assets:    
Cash equivalents: 227,796 72,583
Recurring | Level II    
Financial Assets:    
Total measured at fair value 949,356 960,005
Recurring | Level II | U.S. Government securities    
Financial Assets:    
Short-term investments: 194,667 67,230
Recurring | Level II | Corporate bonds    
Financial Assets:    
Cash equivalents:   2,002
Short-term investments: 409,024 513,688
Recurring | Level II | Commercial paper    
Financial Assets:    
Cash equivalents: 27,927 29,997
Short-term investments: 317,738 347,088
Recurring | Level II | Money market funds    
Financial Assets:    
Cash equivalents: 0 0
Recurring | Level III    
Financial Assets:    
Total measured at fair value 0 0
Recurring | Level III | U.S. Government securities    
Financial Assets:    
Short-term investments: 0 0
Recurring | Level III | Corporate bonds    
Financial Assets:    
Cash equivalents:   0
Short-term investments: 0 0
Recurring | Level III | Commercial paper    
Financial Assets:    
Cash equivalents: 0 0
Short-term investments: 0 0
Recurring | Level III | Money market funds    
Financial Assets:    
Cash equivalents: $ 0 $ 0