v3.23.1
Convertible Senior Notes - Schedule of Convertible 2023, 2026, 2025 Notes (Details) - Convertible Debt - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Convertible Senior Notes Due February 2023    
Debt Instrument [Line Items]    
Principal $ 0 $ 10,908
Unamortized debt issuance costs 0 (5)
Net carrying amount 0 10,903
Convertible Senior Notes Due June 2026    
Debt Instrument [Line Items]    
Principal 303,995 316,250
Unamortized debt issuance costs (4,072) (4,563)
Net carrying amount 299,923 311,687
Convertible Notes Due 2025    
Debt Instrument [Line Items]    
Principal 191,000 350,000
Unamortized debt issuance costs (1,945) (3,898)
Net carrying amount $ 189,055 $ 346,102