v3.23.1
Unsecured Convertible Senior Notes - Unsecured convertible senior notes outstanding (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Sep. 30, 2020
Nov. 30, 2018
Debt Instrument [Line Items]        
Principal amount $ 320,030 $ 320,030    
Unamortized discount   (4,743)    
Unamortized debt issuance costs (4,267)      
Total unsecured convertible senior notes, net 315,763 315,287    
2023 Unsecured Convertible Senior Notes        
Debt Instrument [Line Items]        
Principal amount $ 95,000 95,000    
Interest rate (as a percent) 6.25%     6.25%
Unamortized discount   (619)    
Unamortized debt issuance costs $ (446)      
Total unsecured convertible senior notes, net 94,554 94,381    
Fair value of outstanding unsecured convertible senior notes (1) 93,575 92,031    
2026 Unsecured Convertible Senior Notes        
Debt Instrument [Line Items]        
Principal amount $ 225,030 225,030    
Interest rate (as a percent) 5.25%   5.25%  
Unamortized discount   (4,124)    
Unamortized debt issuance costs $ (3,821)      
Total unsecured convertible senior notes, net 221,209 220,906    
Fair value of outstanding unsecured convertible senior notes (1) $ 141,769 $ 118,141