XML 81 R65.htm IDEA: XBRL DOCUMENT v3.22.0.1
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Fair value of certain financial assets and liabilities    
Cash and cash equivalents $ 1,326,462 $ 1,180,413
Short-term investments 1,749,727 881,354
Investments 99,419 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 749,089 796,421
Foreign currency derivatives (278) (2,578)
Assets measured at fair value 3,175,330 2,103,480
Cash and cash equivalents 1,326,462 1,180,413
Short-term investments 1,749,727 881,354
Accounts receivable, net 654 69
Investments 99,419 44,291
Accrued liabilities (932) (2,647)
Total fair value | Money market funds    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 440,826 352,730
Total fair value | Certificates of deposit    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 44,502 23,137
Total fair value | Commercial paper    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 335,477 130,883
Total fair value | Municipal securities    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 2,428 9,083
Total fair value | U.S. government agency securities    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 75,137 91,882
Total fair value | U.S. treasuries    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 1,528,149 701,922
Level 1    
Fair value of certain financial assets and liabilities    
Cash 749,089 796,421
Assets measured at fair value 1,189,915 1,149,151
Cash and cash equivalents 1,189,915 1,149,151
Level 1 | Money market funds    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 440,826 352,730
Level 2    
Fair value of certain financial assets and liabilities    
Foreign currency derivatives (278) (2,578)
Assets measured at fair value 1,985,415 954,329
Cash and cash equivalents 136,547 31,262
Short-term investments 1,749,727 881,354
Accounts receivable, net 654 69
Investments 99,419 44,291
Accrued liabilities (932) (2,647)
Level 2 | Certificates of deposit    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 44,502 23,137
Level 2 | Commercial paper    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 335,477 130,883
Level 2 | Municipal securities    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 2,428 9,083
Level 2 | U.S. government agency securities    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 75,137 91,882
Level 2 | U.S. treasuries    
Fair value of certain financial assets and liabilities    
Assets measured at fair value $ 1,528,149 $ 701,922