v3.24.3
Fair Value Measurements - Schedule of Fair Values Company’s Investments (Details) - USD ($)
$ in Thousands
Sep. 30, 2024
Dec. 31, 2023
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments $ 226,022 $ 236,118
Long-term investments 107,046 86,676
Fair Value, Inputs, Level 1, Level 2, and Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 416,793 692,168
Gross Unrealized Holding Loss (26) (336)
Gross Unrealized Holding Gain 1,058 279
Fair Value 417,825 692,111
Cash and Cash Equivalents 99,275 382,956
Short-term investments 226,022 236,118
Long-term investments 92,528 73,037
Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 160,780 472,319
Gross Unrealized Holding Loss (16) (164)
Gross Unrealized Holding Gain 210 39
Fair Value 160,974 472,194
Cash and Cash Equivalents 96,284 376,941
Short-term investments 42,494 60,233
Long-term investments 22,196 35,020
Level 1 | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 85,634 377,021
Gross Unrealized Holding Loss 0 0
Gross Unrealized Holding Gain 0 0
Fair Value 85,634 377,021
Cash and Cash Equivalents 85,634 376,941
Short-term investments 0 80
Long-term investments 0 0
Level 1 | U.S. Government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 75,146 95,298
Gross Unrealized Holding Loss (16) (164)
Gross Unrealized Holding Gain 210 39
Fair Value 75,340 95,173
Cash and Cash Equivalents 10,650 0
Short-term investments 42,494 60,153
Long-term investments 22,196 35,020
Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 249,013 213,849
Gross Unrealized Holding Loss (10) (172)
Gross Unrealized Holding Gain 848 240
Fair Value 249,851 213,917
Cash and Cash Equivalents 2,991 6,015
Short-term investments 183,528 175,885
Long-term investments 63,332 32,017
Level 2 | U.S. agency securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost   15,635
Gross Unrealized Holding Loss   (14)
Gross Unrealized Holding Gain   3
Fair Value   15,624
Cash and Cash Equivalents   0
Short-term investments   15,624
Long-term investments   0
Level 2 | Certificate of deposit    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 32,862 35,365
Gross Unrealized Holding Loss 0 (1)
Gross Unrealized Holding Gain 58 55
Fair Value 32,920 35,419
Cash and Cash Equivalents 0 0
Short-term investments 32,920 35,419
Long-term investments 0 0
Level 2 | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 56,351 62,463
Gross Unrealized Holding Loss (1) (12)
Gross Unrealized Holding Gain 87 54
Fair Value 56,437 62,505
Cash and Cash Equivalents 2,991 4,449
Short-term investments 53,446 58,056
Long-term investments 0 0
Level 2 | Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 159,800 100,386
Gross Unrealized Holding Loss (9) (145)
Gross Unrealized Holding Gain 703 128
Fair Value 160,494 100,369
Cash and Cash Equivalents 0 1,566
Short-term investments 97,162 66,786
Long-term investments 63,332 32,017
Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 7,000 6,000
Gross Unrealized Holding Loss 0 0
Gross Unrealized Holding Gain 0 0
Fair Value 7,000 6,000
Cash and Cash Equivalents 0 0
Short-term investments 0 0
Long-term investments 7,000 6,000
Level 3 | Loans receivable - held for investment    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 7,000 6,000
Gross Unrealized Holding Loss 0 0
Gross Unrealized Holding Gain 0 0
Fair Value 7,000 6,000
Cash and Cash Equivalents 0 0
Short-term investments 0 0
Long-term investments 7,000 6,000
Measured at NAV | Third-party managed funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Long-term investments $ 14,518 $ 13,639