v3.26.1
Cash, Cash Equivalents and Investments - Cash, Cash Equivalents, Marketable Securities, and Available-for-Sale Investments (Details) - USD ($)
$ in Thousands
Jun. 30, 2026
Dec. 31, 2025
Restricted Cash and Cash Equivalent Item [Line Items]    
Cash $ 262,275 $ 168,294
Amortized Cost   1,721,546
Gross Unrealized Gains 6,026 12,234
Gross Unrealized Losses 0 (3)
Fair Value   1,733,777
Total, amortized cost 686,507  
Total, fair value 692,533  
Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Cash 262,275 168,294
Fair Value   1,201,147
Total, fair value 597,704  
Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Cash 0 0
Fair Value   27,213
Total, fair value 19,126  
Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Cash 0 0
Fair Value   505,417
Total, fair value 75,703  
Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 306,315 1,075,026
Gross Unrealized Gains 6,026 12,192
Gross Unrealized Losses 0 0
Fair Value 312,341 1,087,218
Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 293,215 1,021,911
Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 19,126 27,213
Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 38,094
Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 117,917 478,226
Gross Unrealized Gains 0 42
Gross Unrealized Losses 0 (3)
Fair Value 117,917 478,265
Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 42,214 10,942
Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 75,703 467,323
Money market funds | Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 293,215 821,711
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Fair Value 293,215 821,711
Money market funds | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 293,215 821,711
Money market funds | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Money market funds | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Marketable securities | Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 13,100 15,093
Gross Unrealized Gains 6,026 12,120
Gross Unrealized Losses 0 0
Fair Value 19,126 27,213
Marketable securities | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Marketable securities | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 19,126 27,213
Marketable securities | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
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   231,766
Gross Unrealized Gains   69
Gross Unrealized Losses   0
Fair Value   231,835
U.S. Treasury bills | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   200,200
U.S. Treasury bills | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   0
U.S. Treasury bills | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   31,635
Agency bonds | Level 1:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost   6,456
Gross Unrealized Gains   3
Gross Unrealized Losses   0
Fair Value   6,459
Agency bonds | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   0
Agency bonds | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   0
Agency bonds | Level 1: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   6,459
Term deposits | Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost 117,917 385,942
Gross Unrealized Gains 0 0
Gross Unrealized Losses 0 0
Fair Value 117,917 385,942
Term deposits | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 42,214 10,942
Term deposits | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value 0 0
Term deposits | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value $ 75,703 375,000
Corporate bonds | Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost   72,322
Gross Unrealized Gains   42
Gross Unrealized Losses   (3)
Fair Value   72,361
Corporate bonds | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   0
Corporate bonds | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   0
Corporate bonds | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   72,361
Commercial paper | Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost   18,462
Gross Unrealized Gains   0
Gross Unrealized Losses   0
Fair Value   18,462
Commercial paper | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   0
Commercial paper | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   0
Commercial paper | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   18,462
Certificates of deposit | Level 2:    
Restricted Cash and Cash Equivalent Item [Line Items]    
Amortized Cost   1,500
Gross Unrealized Gains   0
Gross Unrealized Losses   0
Fair Value   1,500
Certificates of deposit | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:CashAndCashEquivalentsAtCarryingValue    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   0
Certificates of deposit | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:MarketableSecurities    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   0
Certificates of deposit | Level 2: | Location, Statement of Financial Position, Balance [Axis]: us-gaap:ShortTermInvestments    
Restricted Cash and Cash Equivalent Item [Line Items]    
Fair Value   $ 1,500