XML 50 R39.htm IDEA: XBRL DOCUMENT v3.7.0.1
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES - Assets - Recurring Basis (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2017
Dec. 31, 2016
Jun. 30, 2016
Dec. 31, 2015
Fair value amounts included in the carrying value of        
Cash and cash equivalents $ 777,655 $ 377,582 $ 434,769 $ 2,175,417
Short-term investments 323,851 220,554    
Investments 48,639 2,394    
Asset transfers between Level 1 and Level 2 measurements 0 0    
Total fair value        
Fair value amounts included in the carrying value of        
Cash and cash equivalents 777,655 377,582    
Short-term investments 323,851 220,554    
Accounts receivable, net 853 236    
Investments 48,639 2,394    
Accrued liabilities (371) (764)    
Assets measured at fair value 1,150,627 600,002    
Cash 311,631 278,972    
Foreign currency derivatives 482 (528)    
Money market funds | Total fair value        
Fair value amounts included in the carrying value of        
Assets measured at fair value 363,656 76,112    
Certificates of deposit | Total fair value        
Fair value amounts included in the carrying value of        
Assets measured at fair value 57,756      
Commercial paper | Total fair value        
Fair value amounts included in the carrying value of        
Assets measured at fair value 90,257 47,855    
Variable rate demand notes | Total fair value        
Fair value amounts included in the carrying value of        
Assets measured at fair value 32,905 13,923    
Municipal securities | Total fair value        
Fair value amounts included in the carrying value of        
Assets measured at fair value 234,558 157,617    
U.S. government agency securities | Total fair value        
Fair value amounts included in the carrying value of        
Assets measured at fair value 59,382 26,051    
Level 1        
Fair value amounts included in the carrying value of        
Cash and cash equivalents 675,287 355,084    
Assets measured at fair value 675,287 355,084    
Cash 311,631 278,972    
Level 1 | Money market funds        
Fair value amounts included in the carrying value of        
Assets measured at fair value 363,656 76,112    
Level 2        
Fair value amounts included in the carrying value of        
Cash and cash equivalents 102,368 22,498    
Short-term investments 323,851 220,554    
Accounts receivable, net 853 236    
Investments 48,639 2,394    
Accrued liabilities (371) (764)    
Assets measured at fair value 475,340 244,918    
Foreign currency derivatives 482 (528)    
Level 2 | Certificates of deposit        
Fair value amounts included in the carrying value of        
Assets measured at fair value 57,756      
Level 2 | Commercial paper        
Fair value amounts included in the carrying value of        
Assets measured at fair value 90,257 47,855    
Level 2 | Variable rate demand notes        
Fair value amounts included in the carrying value of        
Assets measured at fair value 32,905 13,923    
Level 2 | Municipal securities        
Fair value amounts included in the carrying value of        
Assets measured at fair value 234,558 157,617    
Level 2 | U.S. government agency securities        
Fair value amounts included in the carrying value of        
Assets measured at fair value $ 59,382 $ 26,051