v3.25.1
Fair Value of Financial Instruments (Details 3) - USD ($)
$ in Thousands
Apr. 30, 2025
Jul. 31, 2024
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents $ 406,121 $ 399,037
Total short-term investments 410,116 455,576
Total long-term investments 323,305 125,885
Total 1,139,542 980,498
Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 334,743 360,881
Total short-term investments 0 0
Total long-term investments 0 0
Total 334,743 360,881
Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 71,378 38,156
Total short-term investments 410,116 455,576
Total long-term investments 323,305 125,885
Total 804,799 619,617
Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 0 0
Total short-term investments 0 0
Total long-term investments 0 0
Total 0 0
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 70,157 38,156
Commercial paper | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 0 0
Commercial paper | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 70,157 38,156
Commercial paper | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 0 0
Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 334,743 360,881
Money market funds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 334,743 360,881
Money market funds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 0 0
Money market funds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 0 0
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 69,417 100,442
Commercial paper | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
Commercial paper | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 69,417 100,442
Commercial paper | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 1,221  
Total short-term investments 204,163 177,081
Total long-term investments 200,742 69,193
Corporate bonds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 0  
Total short-term investments 0 0
Total long-term investments 0 0
Corporate bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 1,221  
Total short-term investments 204,163 177,081
Total long-term investments 200,742 69,193
Corporate bonds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 0  
Total short-term investments 0 0
Total long-term investments 0 0
Certificates of deposit    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 64,660 46,900
Certificates of deposit | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
Certificates of deposit | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 64,660 46,900
Certificates of deposit | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
U.S. Government bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 54,224 75,966
Total long-term investments 30,445 13,917
U.S. Government bonds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
Total long-term investments 0 0
U.S. Government bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 54,224 75,966
Total long-term investments 30,445 13,917
U.S. Government bonds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
Total long-term investments 0 0
U.S. Government agency securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 5,332 32,605
Total long-term investments 39,036 894
U.S. Government agency securities | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
Total long-term investments 0 0
U.S. Government agency securities | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 5,332 32,605
Total long-term investments 39,036 894
U.S. Government agency securities | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
Total long-term investments 0 0
Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 12,320 18,826
Total long-term investments 51,241 40,041
Asset-backed securities | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
Total long-term investments 0 0
Asset-backed securities | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 12,320 18,826
Total long-term investments 51,241 40,041
Asset-backed securities | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0 0
Total long-term investments 0 0
Foreign government bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments   3,756
Total long-term investments 1,841 1,840
Foreign government bonds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments   0
Total long-term investments 0 0
Foreign government bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments   3,756
Total long-term investments 1,841 1,840
Foreign government bonds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments   0
Total long-term investments $ 0 $ 0