XML 48 R38.htm IDEA: XBRL DOCUMENT v3.22.0.1
Fair Value of Financial Instruments (Details 3) - USD ($)
$ in Thousands
Jan. 31, 2022
Jul. 31, 2021
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents $ 134,219 $ 240,943
Total short-term investments 562,753 734,518
Total long-term investments 293,537 227,163
Total 990,509 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 434,300 452,000
Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 106,208 125,118
Total short-term investments 0 0
Total long-term investments 0 0
Total 106,208 125,118
Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 28,011 115,825
Total short-term investments 561,753 733,518
Total long-term investments 293,537 227,163
Total 883,301 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 28,011 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 28,011 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 106,208 125,118
Money market funds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total cash equivalents 106,208 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
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 211,223 274,012
Total long-term investments 2,500  
Commercial paper | 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  
Commercial paper | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 211,223 274,012
Total long-term investments 2,500  
Commercial paper | 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  
Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 207,859 225,384
Total long-term investments 172,387 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 207,859 225,384
Total long-term investments 172,387 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
Certificates of deposit    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 62,051 80,750
Total long-term investments 1,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 62,051 80,750
Total long-term investments 1,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
U.S. Government bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 46,878 45,320
Total long-term investments 27,833 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 46,878 45,320
Total long-term investments 27,833 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
U.S. Government agency securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 4,999 69,183
Total long-term investments 27,412 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 4,999 69,183
Total long-term investments 27,412 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
Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 3,670 9,036
Total long-term investments 52,043 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,670 9,036
Total long-term investments 52,043 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 24,869 28,353
Total long-term investments 10,362 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 24,869 28,353
Total long-term investments 10,362 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
Municipal bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 204 1,480
Total long-term investments   205
Municipal 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
Municipal bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total short-term investments 204 1,480
Total long-term investments   205
Municipal 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
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 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 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