v3.25.3
Fair Value Measurements - Schedule of Fair Values Company’s Investments (Details) - USD ($)
$ in Thousands
Sep. 30, 2025
Dec. 31, 2024
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments $ 259,211 $ 228,322
Long-term investments 108,346 111,725
Fair Value, Inputs, Level 1, Level 2, and Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 1,015,092 738,847
Gross Unrealized Holding Loss (7) (210)
Gross Unrealized Holding Gain 814 451
Fair Value 1,015,899 739,088
Cash and Cash Equivalents 663,105 413,857
Short-term investments 257,211 225,117
Long-term investments 95,583 100,114
Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 735,013 473,919
Gross Unrealized Holding Loss (4) (109)
Gross Unrealized Holding Gain 164 71
Fair Value 735,173 473,881
Cash and Cash Equivalents 663,105 402,731
Short-term investments 55,036 41,477
Long-term investments 17,032 29,673
Level 1 | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 663,105 402,731
Gross Unrealized Holding Loss 0 0
Gross Unrealized Holding Gain 0 0
Fair Value 663,105 402,731
Cash and Cash Equivalents 663,105 402,731
Short-term investments 0 0
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 71,908 71,188
Gross Unrealized Holding Loss (4) (109)
Gross Unrealized Holding Gain 164 71
Fair Value 72,068 71,150
Cash and Cash Equivalents 0 0
Short-term investments 55,036 41,477
Long-term investments 17,032 29,673
Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 267,079 257,428
Gross Unrealized Holding Loss (3) (101)
Gross Unrealized Holding Gain 650 380
Fair Value 267,726 257,707
Cash and Cash Equivalents 0 11,126
Short-term investments 202,175 183,140
Long-term investments 65,551 63,441
Level 2 | Certificate of deposit    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 14,794 35,301
Gross Unrealized Holding Loss 0 (2)
Gross Unrealized Holding Gain 28 31
Fair Value 14,822 35,330
Cash and Cash Equivalents 0 3,638
Short-term investments 14,822 31,692
Long-term investments 0 0
Level 2 | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 57,434 57,035
Gross Unrealized Holding Loss (1) (1)
Gross Unrealized Holding Gain 33 39
Fair Value 57,466 57,073
Cash and Cash Equivalents 0 7,488
Short-term investments 57,466 49,585
Long-term investments 0 0
Level 2 | Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 194,851 165,092
Gross Unrealized Holding Loss (2) (98)
Gross Unrealized Holding Gain 589 310
Fair Value 195,438 165,304
Cash and Cash Equivalents 0 0
Short-term investments 129,887 101,863
Long-term investments 65,551 63,441
Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 13,000 7,500
Gross Unrealized Holding Loss 0 0
Gross Unrealized Holding Gain 0 0
Fair Value 13,000 7,500
Cash and Cash Equivalents 0 0
Short-term investments 0 500
Long-term investments 13,000 7,000
Level 3 | Loans receivable - held for investment    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Cost 13,000 7,500
Gross Unrealized Holding Loss 0 0
Gross Unrealized Holding Gain 0 0
Fair Value 13,000 7,500
Cash and Cash Equivalents 0 0
Short-term investments 0 500
Long-term investments 13,000 7,000
Measured at NAV | Third-party managed funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Short-term investments 2,000 3,205
Long-term investments $ 12,763 $ 11,611