v3.25.2
Cash, Cash Equivalents and Investments - Schedule of Investments (Details) - USD ($)
$ in Thousands
Jun. 30, 2025
Dec. 31, 2024
Restricted Cash and Cash Equivalent Item [Line Items]    
Cash $ 112,410 $ 94,919
Amortized Cost 2,176,877 878,105
Gross Unrealized Gains 54,104 108,312
Gross Unrealized Losses (181) (68)
Fair Value 2,230,800 986,349
Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Cash 112,410 94,919
Fair Value 615,496 454,844
Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Cash 0 0
Fair Value 144,000 198,270
Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Cash 0 0
Fair Value 1,471,304 333,235
Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 668,580 504,295
Gross Unrealized Gains 54,028 108,302
Gross Unrealized Losses (48) (5)
Fair Value 722,560 612,592
Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 366,635 322,874
Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 144,000 198,270
Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 211,925 91,448
Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 1,395,887 278,891
Gross Unrealized Gains 76 10
Gross Unrealized Losses (133) (63)
Fair Value 1,395,830 278,838
Level 2: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 136,451 37,051
Level 2: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Level 2: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 1,259,379 241,787
Money market funds | Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 298,128 322,874
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Fair Value 298,128 322,874
Money market funds | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 298,128 322,874
Money market funds | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Money market funds | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
U.S. Treasury bills | Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 224,731 14,431
Gross Unrealized Gains 27 25
Gross Unrealized Losses (17) 0
Fair Value 224,741 14,456
U.S. Treasury bills | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 55,488 0
U.S. Treasury bills | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
U.S. Treasury bills | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 169,253 14,456
Marketable securities | Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 90,000 90,000
Gross Unrealized Gains 54,000 108,270
Gross Unrealized Losses 0 0
Fair Value 144,000 198,270
Marketable securities | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Marketable securities | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 144,000 198,270
Marketable securities | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Agency bonds | Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 37,263 996
Gross Unrealized Gains 0 0
Gross Unrealized Losses (24) 0
Fair Value 37,239 996
Agency bonds | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 13,019 0
Agency bonds | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Agency bonds | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 24,220 996
U.S. Government bonds | Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 18,458 75,994
Gross Unrealized Gains 1 7
Gross Unrealized Losses (7) (5)
Fair Value 18,452 75,996
U.S. Government bonds | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
U.S. Government bonds | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
U.S. Government bonds | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 18,452 75,996
Term deposits | Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 884,648 136,480
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Fair Value 884,648 136,480
Term deposits | Level 2: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 69,648 11,480
Term deposits | Level 2: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Term deposits | Level 2: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 815,000 125,000
Corporate bonds | Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 373,743 122,018
Gross Unrealized Gains 75 10
Gross Unrealized Losses (133) (63)
Fair Value 373,685 121,965
Corporate bonds | Level 2: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 42,902 24,075
Corporate bonds | Level 2: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Corporate bonds | Level 2: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 330,783 97,890
Commercial paper | Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 136,499 20,393
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Fair Value 136,499 20,393
Commercial paper | Level 2: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 23,901 1,496
Commercial paper | Level 2: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Commercial paper | Level 2: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 112,598 $ 18,897
State and municipal obligations | Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 997  
Gross Unrealized Gains 1  
Gross Unrealized Losses 0  
Fair Value 998  
State and municipal obligations | Level 2: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0  
State and municipal obligations | Level 2: | Marketable Securities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0  
State and municipal obligations | Level 2: | Short-Term Investments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value $ 998