XML 69 R57.htm IDEA: XBRL DOCUMENT v3.22.2
FAIR VALUE OF CERTAIN FINANCIAL ASSETS AND LIABILITIES (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2022
Dec. 31, 2021
Fair value of certain financial assets and liabilities    
Cash and cash equivalents $ 1,132,039 $ 1,326,462
Short-term investments 1,337,792 1,749,727
Investments 64,119 99,419
Asset transfers between Level 1 and Level 2 measurements 0 0
Total fair value    
Fair value of certain financial assets and liabilities    
Cash 932,538 749,089
Foreign currency derivatives 558 (278)
Assets measured at fair value 2,534,508 3,175,330
Cash and cash equivalents 1,132,039 1,326,462
Short-term investments 1,337,792 1,749,727
Accounts receivable, net 620 654
Investments 64,119 99,419
Accrued liabilities (62) (932)
Total fair value | Money market funds    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 124,879 440,826
Total fair value | Certificates of deposit    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 34,554 44,502
Total fair value | Commercial paper    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 220,624 335,477
Total fair value | Municipal securities    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 218,435 2,428
Total fair value | U.S. government agency securities    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 92,664 75,137
Total fair value | U.S. treasuries    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 910,256 1,528,149
Level 1    
Fair value of certain financial assets and liabilities    
Cash 932,538 749,089
Assets measured at fair value 1,057,417 1,189,915
Cash and cash equivalents 1,057,417 1,189,915
Level 1 | Money market funds    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 124,879 440,826
Level 2    
Fair value of certain financial assets and liabilities    
Foreign currency derivatives 558 (278)
Assets measured at fair value 1,477,091 1,985,415
Cash and cash equivalents 74,622 136,547
Short-term investments 1,337,792 1,749,727
Accounts receivable, net 620 654
Investments 64,119 99,419
Accrued liabilities (62) (932)
Level 2 | Certificates of deposit    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 34,554 44,502
Level 2 | Commercial paper    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 220,624 335,477
Level 2 | Municipal securities    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 218,435 2,428
Level 2 | U.S. government agency securities    
Fair value of certain financial assets and liabilities    
Assets measured at fair value 92,664 75,137
Level 2 | U.S. treasuries    
Fair value of certain financial assets and liabilities    
Assets measured at fair value $ 910,256 $ 1,528,149