XML 62 R51.htm IDEA: XBRL DOCUMENT v3.23.2
Debt - Summary of Information about the Equity and Liability Components of Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Debt Instrument [Line Items]    
Principal amount of notes outstanding $ 398,750 $ 398,750
Unamortized debt issuance cost (8,504) (9,558)
Total long-term portion of notes payable $ 390,246 389,192
2024 Notes | Convertible Notes    
Debt Instrument [Line Items]    
Stated interest rate 4.50%  
Principal amount of notes outstanding $ 13,750 13,750
Unamortized debt issuance cost (161) (257)
Total long-term portion of notes payable $ 13,589 13,493
2026 Notes | Convertible Notes    
Debt Instrument [Line Items]    
Stated interest rate 2.875%  
Principal amount of notes outstanding $ 120,000 120,000
Unamortized debt issuance cost (2,167) (2,511)
Total long-term portion of notes payable $ 117,833 117,489
2027 Notes | Convertible Notes    
Debt Instrument [Line Items]    
Stated interest rate 1.50%  
Principal amount of notes outstanding $ 265,000 265,000
Unamortized debt issuance cost (6,176) (6,790)
Total long-term portion of notes payable $ 258,824 $ 258,210