XML 67 R37.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Fair Value of Financial Instruments (Details 4) - USD ($)
$ in Thousands
Jan. 31, 2020
Jul. 31, 2019
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: $ 159,928 $ 176,242
Short-term investments: 836,939 870,136
Long-term investments: 274,563 213,524
Total 1,271,430 1,259,902
Senior Notes | Convertible Senior Notes, 1.250%    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair value of debt 472,000 454,100
Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 93,758 115,712
Short-term investments: 0 0
Long-term investments: 0 0
Total 93,758 115,712
Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 66,170 60,530
Short-term investments: 836,939 870,136
Long-term investments: 274,563 213,524
Total 1,177,672 1,144,190
Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 0 0
Short-term investments: 0 0
Long-term investments: 0 0
Total 0 0
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 66,170 56,132
Commercial paper | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 0 0
Commercial paper | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 66,170 56,132
Commercial paper | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 0 0
Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 93,758 115,712
Money market funds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 93,758 115,712
Money market funds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 0 0
Money market funds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents: 0 0
Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents:   4,398
Corporate bonds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents:   0
Corporate bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents:   4,398
Corporate bonds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash equivalents:   0
U.S. Government agency securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 15,391 39,166
Long-term investments: 43,754 16,713
Total 59,145 55,879
U.S. Government agency securities | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
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]    
Short-term investments: 15,391 39,166
Long-term investments: 43,754 16,713
U.S. Government agency securities | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
Long-term investments: 0 0
Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 140,121 183,201
Total 206,291 239,333
Commercial paper | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
Commercial paper | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 140,121 183,201
Commercial paper | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 498,957 477,169
Long-term investments: 156,312 186,021
Total 655,269 667,588
Corporate bonds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
Long-term investments: 0 0
Corporate bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 498,957 477,169
Long-term investments: 156,312 186,021
Corporate bonds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
Long-term investments: 0 0
U.S. Government bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 113,989 123,600
Long-term investments: 28,355 6,994
Total 142,344 130,595
U.S. Government bonds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
Long-term investments: 0 0
U.S. Government bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 113,989 123,600
Long-term investments: 28,355 6,994
U.S. Government bonds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
Long-term investments: 0 0
Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 22,360  
Long-term investments: 38,146  
Total 60,506  
Asset-backed securities | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0  
Long-term investments: 0  
Asset-backed securities | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 22,360  
Long-term investments: 38,146  
Asset-backed securities | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0  
Long-term investments: 0  
Foreign government bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 10,874  
Total 10,874  
Foreign government bonds | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0  
Foreign government bonds | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 10,874  
Foreign government bonds | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0  
Certificates of deposit    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 35,247 47,000
Long-term investments: 7,996 3,796
Total 43,243 50,796
Certificates of deposit | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
Long-term investments: 0 0
Certificates of deposit | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 35,247 47,000
Long-term investments: 7,996 3,796
Certificates of deposit | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments: 0 0
Long-term investments: $ 0 $ 0