v3.24.2.u1
Debt - Schedule of Long-Term Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2024
Dec. 31, 2023
Debt Instrument [Line Items]    
Outstanding principal balance $ 362,750 $ 362,750
Less: Debt issuance costs (4,025) (5,082)
Carrying amount, long-term debt 358,725 357,668
Convertible Senior Notes | 2026 Notes    
Debt Instrument [Line Items]    
Outstanding principal balance 212,750 212,750
Less: Debt issuance costs (2,347) (2,864)
Carrying amount, long-term debt 210,403 209,886
Convertible Senior Notes | 2025 Notes    
Debt Instrument [Line Items]    
Outstanding principal balance 150,000 150,000
Less: Debt issuance costs (1,678) (2,218)
Carrying amount, long-term debt $ 148,322 $ 147,782