Quarterly report pursuant to Section 13 or 15(d)

Debt - Summary of Outstanding Debt (Details)

v3.23.2
Debt - Summary of Outstanding Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Jun. 01, 2023
Dec. 31, 2022
Convertible Notes Payable      
Debt Instrument [Line Items]      
Issuance Amount $ 912,500   $ 937,500
Unamortized Issuance Costs (18,325)   (20,845)
Carrying Value 894,175   916,655
Convertible Notes Payable | Level II      
Debt Instrument [Line Items]      
Fair Value (Level II) 920,075   945,865
Convertible Notes Payable | Convertible Notes Due 2023      
Debt Instrument [Line Items]      
Issuance Amount   $ 45,000 45,000
Unamortized Issuance Costs     (114)
Carrying Value     44,886
Convertible Notes Payable | Convertible Notes Due 2023 | Level II      
Debt Instrument [Line Items]      
Fair Value (Level II)     46,058
Convertible Notes Payable | Convertible Notes due 2025      
Debt Instrument [Line Items]      
Issuance Amount 317,500   317,500
Unamortized Issuance Costs (3,870)   (4,765)
Carrying Value 313,630   312,735
Convertible Notes Payable | Convertible Notes due 2025 | Level II      
Debt Instrument [Line Items]      
Fair Value (Level II) 292,576   293,688
Convertible Notes Payable | Convertible Notes due 2027      
Debt Instrument [Line Items]      
Issuance Amount 575,000   575,000
Unamortized Issuance Costs (14,455)   (15,966)
Carrying Value 560,545   559,034
Convertible Notes Payable | Convertible Notes due 2027 | Level II      
Debt Instrument [Line Items]      
Fair Value (Level II) 607,499   606,119
Revolving Credit Facility | Line of Credit | Revolving Credit Facility      
Debt Instrument [Line Items]      
Issuance Amount 20,000   0
Unamortized Issuance Costs 0   0
Carrying Value 20,000   0
Revolving Credit Facility | Line of Credit | Revolving Credit Facility | Level II      
Debt Instrument [Line Items]      
Fair Value (Level II) $ 20,000   $ 0