XML 60 R49.htm IDEA: XBRL DOCUMENT v3.23.2
FAIR VALUE MEASUREMENTS AND FINANCIAL INSTRUMENTS - Assets and Liabilities at Fair Value, Recurring Basis (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost $ 2,775,339 $ 1,735,765
Short-term investments 2,473,955 2,177,231
Long-term investments 288,081 529,974
Fair Value, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 2,775,339 1,735,765
Gross Unrealized Gains 692 535
Gross Unrealized Losses (11,228) (12,107)
Short-term investments 2,473,955 2,177,231
Long-term investments 288,081 529,974
Total, amortized cost 5,547,911 4,454,542
Total, estimated fair value 5,537,375 4,442,970
Fair Value, Recurring | Cash    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cash and cash equivalents, amortized cost 436,273 321,667
Cash, estimated fair value 436,273 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 2,131,246 1,377,540
Amortized cost 4,169,485 3,238,989
Gross Unrealized Gains 246 151
Gross Unrealized Losses (8,149) (9,431)
Estimated Fair Value 4,161,582 3,229,709
Short-term investments 1,894,287 1,570,591
Long-term investments 136,049 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 207,820 36,558
Amortized cost 942,153 893,886
Gross Unrealized Gains 446 384
Gross Unrealized Losses (3,079) (2,676)
Estimated Fair Value 939,520 891,594
Short-term investments 579,668 606,640
Long-term investments 152,032 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 1,871,962 1,377,540
Amortized cost 1,871,962 1,377,540
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Estimated Fair Value 1,871,962 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 259,284 0
Amortized cost 2,297,523 1,861,449
Gross Unrealized Gains 246 151
Gross Unrealized Losses (8,149) (9,431)
Estimated Fair Value 2,289,620 1,852,169
Short-term investments 1,894,287 1,570,591
Long-term investments 136,049 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 54,481 43,477
Gross Unrealized Gains 3 46
Gross Unrealized Losses (95) (18)
Estimated Fair Value 54,389 43,505
Short-term investments 54,389 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 79,747 174,037
Gross Unrealized Gains 21 67
Gross Unrealized Losses (88) (132)
Estimated Fair Value 79,680 173,972
Short-term investments 79,680 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 163,433 19,761
Amortized cost 358,295 238,224
Gross Unrealized Gains 34 63
Gross Unrealized Losses (134) (122)
Estimated Fair Value 358,195 238,165
Short-term investments 194,762 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 44,387 16,797
Amortized cost 449,630 438,148
Gross Unrealized Gains 388 208
Gross Unrealized Losses (2,762) (2,404)
Estimated Fair Value 447,256 435,952
Short-term investments 250,837 170,759
Long-term investments $ 152,032 $ 248,396