Quarterly report pursuant to Section 13 or 15(d)

Debt - Summary of Outstanding Debt (Details)

v3.23.3
Debt - Summary of Outstanding Debt (Details) - USD ($)
$ in Thousands
Sep. 30, 2023
Dec. 31, 2022
Convertible Notes Payable    
Debt Instrument [Line Items]    
Issuance Amount $ 892,500 $ 937,500
Unamortized Issuance Costs (17,110) (20,845)
Carrying Value 875,390 916,655
Convertible Notes Payable | Level II    
Debt Instrument [Line Items]    
Fair Value (Level II) 817,470 945,865
Convertible Notes Payable | Convertible Notes due 2023    
Debt Instrument [Line Items]    
Issuance Amount   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,419) (4,765)
Carrying Value 314,081 312,735
Convertible Notes Payable | Convertible Notes due 2025 | Level II    
Debt Instrument [Line Items]    
Fair Value (Level II) 293,875 293,688
Convertible Notes Payable | Convertible Notes due 2027    
Debt Instrument [Line Items]    
Issuance Amount 575,000 575,000
Unamortized Issuance Costs (13,691) (15,966)
Carrying Value 561,309 559,034
Convertible Notes Payable | Convertible Notes due 2027 | Level II    
Debt Instrument [Line Items]    
Fair Value (Level II) 523,595 606,119
Revolving Credit Facility | Line of Credit | Revolving Credit Facility    
Debt Instrument [Line Items]    
Issuance Amount 0 0
Unamortized Issuance Costs 0 0
Carrying Value 0 0
Revolving Credit Facility | Line of Credit | Revolving Credit Facility | Level II    
Debt Instrument [Line Items]    
Fair Value (Level II) $ 0 $ 0