Annual report pursuant to Section 13 and 15(d)

Annual report pursuant to Section 13 and 15(d)

Debt - Narrative (Details)

v3.22.4
Debt - Narrative (Details)
$ / shares in Units, shares in Millions
3 Months Ended 12 Months Ended
Jan. 11, 2021
USD ($)
day
$ / shares
Rate
shares
May 04, 2020
USD ($)
day
$ / shares
Rate
Dec. 31, 2022
day
Rate
Sep. 30, 2022
day
Sep. 30, 2021
day
Dec. 31, 2022
USD ($)
Rate
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2022
Dec. 31, 2022
$ / shares
Line of Credit Facility [Line Items]                      
Issuance of common stock, net           $ 12,587,000 $ 15,080,000 $ 20,310,000      
Ownership of convertible notes (as a percent)   25.00%                  
Proceeds from issuance of convertible debt, net of issuance costs           $ 0 334,410,000 $ 194,466,000      
Debt issuance costs                 $ (532,000)    
Over-Allotment Option                      
Line of Credit Facility [Line Items]                      
Issuance of common stock, net $ 334,400,000 $ 194,500,000                  
Capped Call Transactions                      
Line of Credit Facility [Line Items]                      
Proceeds from issuance of convertible debt, net of issuance costs $ 29,300,000                    
Capped call transaction, number of underlying shares | shares 5.2                    
Offering price per share (in dollars per share) | $ / shares $ 85.75                    
Premium on offering price (as a percent) 75.00%                    
Public offering price (in dollars per share) | $ / shares $ 49.00                    
0.25% Convertible Senior Notes | Convertible Debt                      
Line of Credit Facility [Line Items]                      
Stated interest rate (as a percent) 0.25%   0.25%     0.25%       0.25%  
Debt instrument, face amount $ 345,000,000                    
Discount on principal amount (as a percent) | Rate 97.00%                    
Discount on shares $ 10,600,000                    
Threshold trading days | day 20                    
Consecutive trading days | day 30                    
Conversion price on applicable trading day (as a percent) 130.00%                    
Convertible Notes, conversion ratio | Rate 1.51172%                    
Convertible Notes, conversion price (in dollars per share) | $ / shares $ 66.15                   $ 9.24
Redemption price of principal (as a percent) 100.00%                    
Ownership of convertible notes (as a percent) 25.00%                    
Interest expense, contractual coupon interest           $ 900,000 800,000        
Interest expense, accretion of debt discount           1,500,000 1,400,000        
Interest expense, amortization of debt issuance costs           $ 34,000 32,000        
Effective interest rate on Convertible Notes (as a percent)           0.70%          
Debt issuance costs             (208,000)   (174,000)    
0.25% Convertible Senior Notes | Convertible Debt | Level 2                      
Line of Credit Facility [Line Items]                      
Fair value of debt             297,600,000   218,200,000    
0.25% Convertible Senior Notes | Convertible Debt | Debt Instrument, Redemption, Period One                      
Line of Credit Facility [Line Items]                      
Threshold trading days | day 20                    
Consecutive trading days | day 30                    
Conversion price on applicable trading day (as a percent) 130.00%                    
0.25% Convertible Senior Notes | Convertible Debt | Debt Instrument, Redemption, Period Two                      
Line of Credit Facility [Line Items]                      
Threshold trading days | day 5                    
Consecutive trading days | day 5                    
Principal amount priced to investors (as a percent) | Rate 98.00%                    
1.25% Convertible Senior Notes | Convertible Debt                      
Line of Credit Facility [Line Items]                      
Stated interest rate (as a percent)   1.25% 1.25%     1.25%       1.25%  
Debt instrument, face amount   $ 201,300,000                  
Discount on principal amount (as a percent) | Rate   97.00%                  
Discount on shares   $ 6,900,000                  
Threshold trading days | day   20                  
Consecutive trading days | day   30                  
Conversion price on applicable trading day (as a percent)   130.00%                  
Convertible Notes, conversion ratio | Rate   2.75198%                  
Convertible Notes, conversion price (in dollars per share) | $ / shares   $ 36.34                 $ 9.24
Redemption price of principal (as a percent)   100.00%                  
Interest expense, contractual coupon interest           $ 2,500,000 2,500,000        
Interest expense, accretion of debt discount           1,200,000 1,200,000        
Interest expense, amortization of debt issuance costs           $ 100,000 100,000        
Effective interest rate on Convertible Notes (as a percent)           1.96%          
Debt issuance costs             (506,000)   (358,000)    
1.25% Convertible Senior Notes | Convertible Debt | Level 2                      
Line of Credit Facility [Line Items]                      
Fair value of debt             $ 238,900,000   $ 169,600,000    
1.25% Convertible Senior Notes | Convertible Debt | Debt Instrument, Redemption, Period One                      
Line of Credit Facility [Line Items]                      
Threshold trading days | day   20 20 20 20            
Consecutive trading days | day   30 30 30 30            
Conversion price on applicable trading day (as a percent)   130.00% 130.00% 130.00%              
1.25% Convertible Senior Notes | Convertible Debt | Debt Instrument, Redemption, Period Two                      
Line of Credit Facility [Line Items]                      
Threshold trading days | day   5                  
Consecutive trading days | day   5                  
Principal amount priced to investors (as a percent) | Rate   98.00%