XML 311 R53.htm IDEA: XBRL DOCUMENT v3.23.1
Fair Value of Financial Instruments - Schedule of carrying values and estimated fair values of debt instruments (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Fair Value, Concentration of Risk, Financial Statement Captions [Line Items]    
Convertible senior notes, carrying value $ 740,209 $ 759,043
Convertible Debt    
Fair Value, Concentration of Risk, Financial Statement Captions [Line Items]    
Convertible senior notes, carrying value 414,215 413,752
Convertible senior notes, fair value $ 467,084 $ 430,236