XML 66 R53.htm IDEA: XBRL DOCUMENT v3.21.2
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2021
Dec. 31, 2020
Jun. 30, 2020
Dec. 31, 2019
Fair value of certain financial assets and liabilities        
Cash and cash equivalents $ 1,584,239 $ 1,180,413 $ 921,326 $ 797,957
Short-term investments 968,952 881,354    
Investments 91,033 44,291    
Asset transfers between Level 1 and Level 2 measurements 0 0    
Total fair value        
Fair value of certain financial assets and liabilities        
Cash 760,217 796,421    
Assets measured at fair value 2,644,515 2,103,480    
Cash and cash equivalents 1,584,239 1,180,413    
Short-term investments 968,952 881,354    
Accounts receivable, net 609 69    
Investments 91,033 44,291    
Accrued liabilities (318) (2,647)    
Foreign currency derivatives 291 (2,578)    
Total fair value | Money market funds        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 809,022 352,730    
Total fair value | Certificates of deposit        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 43,242 23,137    
Total fair value | Commercial paper        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 186,912 130,883    
Total fair value | Municipal securities        
Fair value of certain financial assets and liabilities        
Assets measured at fair value   9,083    
Total fair value | U.S. government agency securities        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 94,573 91,882    
Total fair value | U.S. treasuries        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 750,258 701,922    
Level 1        
Fair value of certain financial assets and liabilities        
Cash 760,217 796,421    
Assets measured at fair value 1,569,239 1,149,151    
Cash and cash equivalents 1,569,239 1,149,151    
Level 1 | Money market funds        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 809,022 352,730    
Level 2        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 1,075,276 954,329    
Cash and cash equivalents 15,000 31,262    
Short-term investments 968,952 881,354    
Accounts receivable, net 609 69    
Investments 91,033 44,291    
Accrued liabilities (318) (2,647)    
Foreign currency derivatives 291 (2,578)    
Level 2 | Certificates of deposit        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 43,242 23,137    
Level 2 | Commercial paper        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 186,912 130,883    
Level 2 | Municipal securities        
Fair value of certain financial assets and liabilities        
Assets measured at fair value   9,083    
Level 2 | U.S. government agency securities        
Fair value of certain financial assets and liabilities        
Assets measured at fair value 94,573 91,882    
Level 2 | U.S. treasuries        
Fair value of certain financial assets and liabilities        
Assets measured at fair value $ 750,258 $ 701,922