v3.25.4
Fair Value Measurements - Schedule of Financial Instruments Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Dec. 31, 2025
Dec. 31, 2024
Assets    
Cash $ 439,200 $ 132,500
Short-term investments 705,172 1,225,124
Cash and cash equivalents and short-term investments 1,800,000 2,000,000
Restricted cash 3,000  
Restricted cash and cash equivalents and restricted short-term investments 1,900,000 1,500,000
Fair Value Measurements on a Recurring Basis    
Assets    
Total unrestricted cash equivalents and short-term investments 1,037,844 1,547,248
Total restricted cash equivalents and investments 1,933,098 1,539,974
Total financial assets 2,970,942 3,087,222
Fair Value Measurements on a Recurring Basis | Level 1    
Assets    
Total unrestricted cash equivalents and short-term investments 276,077 189,839
Total restricted cash equivalents and investments 47,264 42,699
Total financial assets 323,341 232,538
Fair Value Measurements on a Recurring Basis | Level 2    
Assets    
Total unrestricted cash equivalents and short-term investments 761,767 1,357,409
Total restricted cash equivalents and investments 1,885,834 1,497,275
Total financial assets 2,647,601 2,854,684
Fair Value Measurements on a Recurring Basis | Level 3    
Assets    
Total unrestricted cash equivalents and short-term investments 0 0
Total restricted cash equivalents and investments 0 0
Total financial assets 0 0
Fair Value Measurements on a Recurring Basis | Money market funds    
Assets    
Total unrestricted cash equivalents and short-term investments 276,077 189,839
Total restricted cash equivalents and investments 47,264 42,699
Fair Value Measurements on a Recurring Basis | Money market funds | Level 1    
Assets    
Total unrestricted cash equivalents and short-term investments 276,077 189,839
Total restricted cash equivalents and investments 47,264 42,699
Fair Value Measurements on a Recurring Basis | Money market funds | Level 2    
Assets    
Total unrestricted cash equivalents and short-term investments 0 0
Total restricted cash equivalents and investments 0 0
Fair Value Measurements on a Recurring Basis | Money market funds | Level 3    
Assets    
Total unrestricted cash equivalents and short-term investments 0 0
Total restricted cash equivalents and investments 0 0
Fair Value Measurements on a Recurring Basis | Certificates of deposit    
Assets    
Total unrestricted cash equivalents and short-term investments 143,471 171,358
Total restricted cash equivalents and investments 104,370 189,596
Fair Value Measurements on a Recurring Basis | Certificates of deposit | Level 1    
Assets    
Total unrestricted cash equivalents and short-term investments 0 0
Total restricted cash equivalents and investments 0 0
Fair Value Measurements on a Recurring Basis | Certificates of deposit | Level 2    
Assets    
Total unrestricted cash equivalents and short-term investments 143,471 171,358
Total restricted cash equivalents and investments 104,370 189,596
Fair Value Measurements on a Recurring Basis | Certificates of deposit | Level 3    
Assets    
Total unrestricted cash equivalents and short-term investments 0 0
Total restricted cash equivalents and investments 0 0
Fair Value Measurements on a Recurring Basis | Commercial paper    
Assets    
Total unrestricted cash equivalents and short-term investments 216,525 762,546
Total restricted cash equivalents and investments 922,364 782,556
Fair Value Measurements on a Recurring Basis | Commercial paper | Level 1    
Assets    
Total unrestricted cash equivalents and short-term investments 0 0
Total restricted cash equivalents and investments 0 0
Fair Value Measurements on a Recurring Basis | Commercial paper | Level 2    
Assets    
Total unrestricted cash equivalents and short-term investments 216,525 762,546
Total restricted cash equivalents and investments 922,364 782,556
Fair Value Measurements on a Recurring Basis | Commercial paper | Level 3    
Assets    
Total unrestricted cash equivalents and short-term investments 0 0
Total restricted cash equivalents and investments 0 0
Fair Value Measurements on a Recurring Basis | Corporate bonds    
Assets    
Total unrestricted cash equivalents and short-term investments 267,491 70,231
Total restricted cash equivalents and investments 15,037 59,266
Fair Value Measurements on a Recurring Basis | Corporate bonds | Level 1    
Assets    
Total unrestricted cash equivalents and short-term investments 0 0
Total restricted cash equivalents and investments 0 0
Fair Value Measurements on a Recurring Basis | Corporate bonds | Level 2    
Assets    
Total unrestricted cash equivalents and short-term investments 267,491 70,231
Total restricted cash equivalents and investments 15,037 59,266
Fair Value Measurements on a Recurring Basis | Corporate bonds | Level 3    
Assets    
Total unrestricted cash equivalents and short-term investments 0 0
Total restricted cash equivalents and investments 0 0
Fair Value Measurements on a Recurring Basis | U.S. government and agency securities    
Assets    
Total unrestricted cash equivalents and short-term investments 134,280  
Total restricted cash equivalents and investments 844,063  
Fair Value Measurements on a Recurring Basis | U.S. government and agency securities | Level 1    
Assets    
Total unrestricted cash equivalents and short-term investments 0  
Total restricted cash equivalents and investments 0  
Fair Value Measurements on a Recurring Basis | U.S. government and agency securities | Level 2    
Assets    
Total unrestricted cash equivalents and short-term investments 134,280  
Total restricted cash equivalents and investments 844,063  
Fair Value Measurements on a Recurring Basis | U.S. government and agency securities | Level 3    
Assets    
Total unrestricted cash equivalents and short-term investments 0  
Total restricted cash equivalents and investments 0  
Fair Value Measurements on a Recurring Basis | U.S. government and agency securities    
Assets    
Total unrestricted cash equivalents and short-term investments   353,274
Total restricted cash equivalents and investments   465,857
Fair Value Measurements on a Recurring Basis | U.S. government and agency securities | Level 1    
Assets    
Total unrestricted cash equivalents and short-term investments   0
Total restricted cash equivalents and investments   0
Fair Value Measurements on a Recurring Basis | U.S. government and agency securities | Level 2    
Assets    
Total unrestricted cash equivalents and short-term investments   353,274
Total restricted cash equivalents and investments   465,857
Fair Value Measurements on a Recurring Basis | U.S. government and agency securities | Level 3    
Assets    
Total unrestricted cash equivalents and short-term investments   0
Total restricted cash equivalents and investments   0
Fair Value, Nonrecurring    
Assets    
Restricted cash   2,200
Fair Value, Nonrecurring | Cash and Cash Equivalents and Short-Term Investments    
Assets    
Cash 439,200 132,500
Fair Value, Nonrecurring | Cash and Cash Equivalents and Short-Term Investments | Money market funds    
Assets    
Short-term investments $ 360,100 $ 304,700