XML 48 R38.htm IDEA: XBRL DOCUMENT v3.21.2
Fair Value of Financial Instruments (Details 3) - USD ($)
$ in Thousands
Oct. 31, 2021
Jul. 31, 2021
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents $ 142,200 $ 240,943
Total short-term investments 602,162 734,518
Total long-term investments 297,841 227,163
Total 1,042,203 1,202,624
Senior Notes | Convertible Senior Notes, 1.250%    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of debt 494,000 452,000
Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 66,523 125,118
Total short-term investments 0 0
Total long-term investments 0 0
Total 66,523 125,118
Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 75,677 115,825
Total short-term investments 601,162 733,518
Total long-term investments 297,841 227,163
Total 974,680 1,076,506
Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 0 0
Total short-term investments 1,000 1,000
Total long-term investments 0 0
Total 1,000 1,000
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 75,677 115,825
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 75,677 115,825
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 66,523 125,118
Money market funds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 66,523 125,118
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
U.S. Government agency securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 10,000 69,183
Total long-term investments 27,602 15,997
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 10,000 69,183
Total long-term investments 27,602 15,997
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
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 251,678 274,012
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 251,678 274,012
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 short-term investments 205,968 225,384
Total long-term investments 166,915 146,576
Corporate 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
Corporate bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 205,968 225,384
Total long-term investments 166,915 146,576
Corporate 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 bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 17,429 45,320
Total long-term investments 44,736 19,142
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 17,429 45,320
Total long-term investments 44,736 19,142
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
Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 3,891 9,036
Total long-term investments 44,862 38,911
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 3,891 9,036
Total long-term investments 44,862 38,911
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 33,045 28,353
Total long-term investments 10,521 4,832
Foreign 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
Foreign government bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 33,045 28,353
Total long-term investments 10,521 4,832
Foreign 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
Certificates of deposit    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 79,151 80,750
Total long-term investments 3,000 1,500
Certificates of deposit | 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
Certificates of deposit | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 79,151 80,750
Total long-term investments 3,000 1,500
Certificates of deposit | 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
Strategic convertible debt investment    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 1,000 1,000
Strategic convertible debt investment | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0
Strategic convertible debt investment | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 0
Strategic convertible debt investment | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 1,000 1,000
Municipal bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments   1,480
Total long-term investments 205 205
Municipal bonds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments  
Total long-term investments 0
Municipal bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments   1,480
Total long-term investments 205 205
Municipal bonds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments  
Total long-term investments $ 0