XML 61 R50.htm IDEA: XBRL DOCUMENT v3.22.2
FAIR VALUE MEASUREMENTS AND FINANCIAL INSTRUMENTS - Assets and Liabilities at Fair Value, Recurring Basis (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost $ 3,157,449 $ 6,262,905
Short-term investments 1,136,633 0
Long-term investments 278,055 0
Fair Value, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 3,157,449  
Cash, estimated fair value   6,262,905
Gross Unrealized Gains 595  
Gross Unrealized Losses (1,286)  
Short-term investments 1,136,633  
Long-term investments 278,055  
Total assets measured at fair value, amortized cost 4,572,828  
Total assets measured at fair value, fair value 4,572,137  
Fair Value, Recurring | Cash    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 179,950  
Cash, estimated fair value 179,950 160,888
Short-term investments 0  
Long-term investments 0  
Fair Value, Recurring | Level 1:    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 2,775,150  
Amortized cost 3,655,230  
Gross Unrealized Gains 518  
Gross Unrealized Losses (876)  
Estimated Fair Value 3,654,872  
Short-term investments 684,916  
Long-term investments 194,806  
Fair Value, Recurring | Level 2:    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 202,349  
Amortized cost 737,648  
Gross Unrealized Gains 77  
Gross Unrealized Losses (410)  
Estimated Fair Value 737,315  
Short-term investments 451,717  
Long-term investments 83,249  
Fair Value, Recurring | Money market funds | Level 1:    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 2,710,148  
Cash, estimated fair value   $ 6,102,017
Amortized cost 2,710,148  
Gross Unrealized Gains 0  
Gross Unrealized Losses  
Estimated Fair Value 2,710,148  
Short-term investments 0  
Long-term investments 0  
Fair Value, Recurring | U.S. Treasury securities | Level 1:    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 65,002  
Amortized cost 945,082  
Gross Unrealized Gains 518  
Gross Unrealized Losses (876)  
Estimated Fair Value 944,724  
Short-term investments 684,916  
Long-term investments 194,806  
Fair Value, Recurring | U.S. government agency securities | Level 2:    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 6,909  
Amortized cost 6,910  
Gross Unrealized Gains 0  
Gross Unrealized Losses (1)  
Estimated Fair Value 6,909  
Short-term investments 0  
Long-term investments 0  
Fair Value, Recurring | Certificates of deposit | Level 2:    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 20,999  
Amortized cost 221,573  
Gross Unrealized Gains 11  
Gross Unrealized Losses (41)  
Estimated Fair Value 221,543  
Short-term investments 200,544  
Long-term investments 0  
Fair Value, Recurring | Commercial paper | Level 2:    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 173,404  
Amortized cost 314,453  
Gross Unrealized Gains 12  
Gross Unrealized Losses (171)  
Estimated Fair Value 314,294  
Short-term investments 140,890  
Long-term investments 0  
Fair Value, Recurring | Corporate debt securities | Level 2:    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 1,037  
Amortized cost 194,712  
Gross Unrealized Gains 54  
Gross Unrealized Losses (197)  
Estimated Fair Value 194,569  
Short-term investments 110,283  
Long-term investments $ 83,249