Quarterly report pursuant to Section 13 or 15(d)

Quarterly report pursuant to Section 13 or 15(d)

Debt (Details)

v3.23.2
Debt (Details) - Convertible Debt
3 Months Ended 6 Months Ended
Jun. 30, 2023
USD ($)
day
$ / shares
Mar. 31, 2023
day
Jun. 30, 2022
USD ($)
Jun. 30, 2023
USD ($)
$ / shares
Jun. 30, 2022
USD ($)
Dec. 31, 2022
USD ($)
Jan. 11, 2021
USD ($)
Rate
May 04, 2020
USD ($)
2028 Convertible Notes                
Line of Credit Facility [Line Items]                
Debt instrument, face amount             $ 345,000,000  
Stated interest rate (as a percent) 0.25%     0.25%   0.25% 0.25%  
Convertible notes, conversion price (in dollars per share) | $ / shares $ 16.07     $ 16.07        
Interest expense, contractual coupon interest $ 200,000   $ 200,000 $ 400,000 $ 400,000      
Interest expense, accretion of debt discount 400,000   400,000 700,000 700,000      
Interest expense, amortization of debt issuance costs 8,500   8,400 $ 17,000 16,800      
Effective interest rate on convertible notes (as a percent)       0.70%        
2028 Convertible Notes | Level 2                
Line of Credit Facility [Line Items]                
Estimated fair value of debt $ 251,900,000     $ 251,900,000   $ 218,200,000    
2025 Convertible Notes                
Line of Credit Facility [Line Items]                
Debt instrument, face amount               $ 201,300,000
Stated interest rate (as a percent) 1.25%     1.25%   1.25%   1.25%
Convertible notes, conversion price (in dollars per share) | $ / shares $ 16.07     $ 16.07        
Interest expense, contractual coupon interest $ 600,000   600,000 $ 1,300,000 1,200,000      
Interest expense, accretion of debt discount 300,000   300,000 600,000 600,000      
Interest expense, amortization of debt issuance costs 37,700   $ 37,000 $ 100,000 $ 100,000      
Effective interest rate on convertible notes (as a percent)       1.96%        
2025 Convertible Notes | Level 2                
Line of Credit Facility [Line Items]                
Estimated fair value of debt $ 192,100,000     $ 192,100,000   $ 169,600,000    
2025 Convertible Notes | Debt Instrument, Redemption, Period One                
Line of Credit Facility [Line Items]                
Conversion price on applicable trading day (as a percent) 130.00% 130.00%            
Threshold trading days (in days) | day 20 20            
Consecutive trading days (in days) | day 30 30