XML 58 R46.htm IDEA: XBRL DOCUMENT v3.23.1
FAIR VALUE MEASUREMENTS AND FINANCIAL INSTRUMENTS - Assets and Liabilities at Fair Value, Recurring Basis (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost $ 900,038 $ 1,735,765
Short-term investments 2,078,377 2,177,231
Long-term investments 441,727 529,974
Fair Value, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 900,038 1,735,765
Gross Unrealized Gains 1,192 535
Gross Unrealized Losses (8,729) (12,107)
Short-term investments 2,078,377 2,177,231
Long-term investments 441,727 529,974
Total assets measured at fair value, amortized cost 3,427,679 4,454,542
Total assets measured at fair value, fair value 3,420,142 4,442,970
Fair Value, Recurring | Cash and cash equivalents    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 356,602 321,667
Cash, estimated fair value 356,602 321,667
Short-term investments 0 0
Long-term investments 0 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 494,618 1,377,540
Amortized cost 2,201,906 3,238,989
Gross Unrealized Gains 546 151
Gross Unrealized Losses (6,193) (9,431)
Estimated Fair Value 2,196,259 3,229,709
Short-term investments 1,443,875 1,570,591
Long-term investments 257,766 281,578
Fair Value, Recurring | Level 2:    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 48,818 36,558
Amortized cost 869,171 893,886
Gross Unrealized Gains 646 384
Gross Unrealized Losses (2,536) (2,676)
Estimated Fair Value 867,281 891,594
Short-term investments 634,502 606,640
Long-term investments 183,961 248,396
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 434,842 1,377,540
Amortized cost 434,842 1,377,540
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Estimated Fair Value 434,842 1,377,540
Short-term investments 0 0
Long-term investments 0 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 59,776 0
Amortized cost 1,767,064 1,861,449
Gross Unrealized Gains 546 151
Gross Unrealized Losses (6,193) (9,431)
Estimated Fair Value 1,761,417 1,852,169
Short-term investments 1,443,875 1,570,591
Long-term investments 257,766 281,578
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 0 0
Amortized cost 53,852 43,477
Gross Unrealized Gains 24 46
Gross Unrealized Losses (74) (18)
Estimated Fair Value 53,802 43,505
Short-term investments 53,802 43,505
Long-term investments 0 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 0 0
Amortized cost 110,152 174,037
Gross Unrealized Gains 54 67
Gross Unrealized Losses (55) (132)
Estimated Fair Value 110,151 173,972
Short-term investments 110,151 173,972
Long-term investments 0 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 11,987 19,761
Amortized cost 286,565 238,224
Gross Unrealized Gains 23 63
Gross Unrealized Losses (91) (122)
Estimated Fair Value 286,497 238,165
Short-term investments 274,510 218,404
Long-term investments 0 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 36,831 16,797
Amortized cost 418,602 438,148
Gross Unrealized Gains 545 208
Gross Unrealized Losses (2,316) (2,404)
Estimated Fair Value 416,831 435,952
Short-term investments 196,039 170,759
Long-term investments $ 183,961 $ 248,396