v3.25.1
Cash, Cash Equivalents and Investments - Schedule Of Investments (Details) - USD ($)
$ in Thousands
Mar. 31, 2025
Dec. 31, 2024
Restricted Cash and Cash Equivalents Items [Line Items]    
Cash $ 95,886 $ 94,919
Amortized Cost 2,282,318 878,105
Gross Unrealized Gains 84,926 108,312
Gross Unrealized Losses (206) (68)
Fair Value 2,367,038 986,349
Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Cash 95,886 94,919
Fair Value 1,092,938 454,844
Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Cash 0 0
Fair Value 174,870 198,270
Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Cash 0 0
Fair Value 1,099,230 333,235
Level 1:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 958,658 504,295
Gross Unrealized Gains 84,894 108,302
Gross Unrealized Losses (33) (5)
Fair Value 1,043,519 612,592
Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 710,000 322,874
Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 174,870 198,270
Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 158,649 91,448
Level 2:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 1,227,774 278,891
Gross Unrealized Gains 32 10
Gross Unrealized Losses (173) (63)
Fair Value 1,227,633 278,838
Level 2: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 287,052 37,051
Level 2: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
Level 2: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 940,581 241,787
Money market funds | Level 1:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 558,249 322,874
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Fair Value 558,249 322,874
Money market funds | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 558,249 322,874
Money market funds | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
Money market funds | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
U.S. Treasury bills | Level 1:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 205,498 14,431
Gross Unrealized Gains 23 25
Gross Unrealized Losses (9) 0
Fair Value 205,512 14,456
U.S. Treasury bills | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 82,350 0
U.S. Treasury bills | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
U.S. Treasury bills | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 123,162 14,456
Marketable securities | Level 1:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 90,000 90,000
Gross Unrealized Gains 84,870 108,270
Gross Unrealized Losses 0 0
Fair Value 174,870 198,270
Marketable securities | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
Marketable securities | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 174,870 198,270
Marketable securities | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
Agency bonds | Level 1:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 86,477 996
Gross Unrealized Gains 0 0
Gross Unrealized Losses (21) 0
Fair Value 86,456 996
Agency bonds | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 69,401 0
Agency bonds | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
Agency bonds | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 17,055 996
U.S. Government bonds | Level 1:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 18,434 75,994
Gross Unrealized Gains 1 7
Gross Unrealized Losses (3) (5)
Fair Value 18,432 75,996
U.S. Government bonds | Level 1: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
U.S. Government bonds | Level 1: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
U.S. Government bonds | Level 1: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 18,432 75,996
Term deposits | Level 2:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 742,415 136,480
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Fair Value 742,415 136,480
Term deposits | Level 2: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 157,415 11,480
Term deposits | Level 2: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
Term deposits | Level 2: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 585,000 125,000
Corporate bonds | Level 2:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 346,150 122,018
Gross Unrealized Gains 32 10
Gross Unrealized Losses (173) (63)
Fair Value 346,009 121,965
Corporate bonds | Level 2: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 88,066 24,075
Corporate bonds | Level 2: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
Corporate bonds | Level 2: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 257,943 97,890
Commercial paper | Level 2:    
Restricted Cash and Cash Equivalents Items [Line Items]    
Amortized Cost 139,209 20,393
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Fair Value 139,209 20,393
Commercial paper | Level 2: | Cash and Cash Equivalents    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 41,571 1,496
Commercial paper | Level 2: | Marketable Securities    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value 0 0
Commercial paper | Level 2: | Short-Term Investments    
Restricted Cash and Cash Equivalents Items [Line Items]    
Fair Value $ 97,638 $ 18,897