v3.24.1.u1
Fair Value Measurements - Narratives (Details) - USD ($)
Mar. 31, 2024
Dec. 31, 2023
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Restricted cash $ 7,400,000  
Amortized cost of available-for-sale investments with maturities less than one year 1,104,900,000 $ 1,185,100,000
Amortized cost of available-for-sale investments with maturities greater than one year 357,800,000 399,700,000
Net (loss) gain on investments, net of tax (900,000) 2,000,000
Convertible Debt | 2026 Notes    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Debt instrument, fair value 1,213,400,000  
Money market funds    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Unrealized gain 0 0
Unrealized loss $ 0 $ 0