XML 50 R40.htm IDEA: XBRL DOCUMENT v3.23.3
Convertible debt (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2023
USD ($)
$ / shares
Sep. 30, 2022
USD ($)
Sep. 30, 2023
USD ($)
$ / shares
Sep. 30, 2022
USD ($)
Oct. 10, 2023
USD ($)
Aug. 23, 2023
USD ($)
Dec. 31, 2022
USD ($)
Debt Instrument [Line Items]              
Debt Instrument, Face Amount $ 293,750   $ 293,750       $ 293,750
Convertible Debt, Current 21,635   21,635       0
Convertible Debt, Noncurrent 272,542   272,542       289,779
Loss on Extinguishment of Debt 1,779 $ 0 1,779 $ 0      
Derivative, Loss on Derivative     4,343 0      
Debt Instrument, Premium and Debt Issuance Costs, Net 427   427       (3,971)
Convertible Debt 294,177   294,177       289,779
Debt Instrument, Fair Value Disclosure 296,300   296,300       263,700
Debt Instrument, Periodic Payment, Interest 1,203 1,203 3,609 3,609      
Amortization of Financing Costs 294 373 1,040 1,119      
Interest Expense, Debt 1,497 $ 1,576 4,649 4,728      
Purchase of capped call     22,771 $ 0      
Derivative Asset, Noncurrent 22,260   22,260       $ 0
Subsequent Event              
Debt Instrument [Line Items]              
Value of capped call         $ 22,200    
Notes due 2024 [Member]              
Debt Instrument [Line Items]              
Debt Instrument, Face Amount $ 21,713   $ 21,713        
Debt Instrument, Interest Rate, Stated Percentage 1.00%   1.00%        
Debt Instrument, Convertible, Conversion Ratio     15.1394        
Debt Instrument, Convertible, Stock Price Trigger | $ / shares     $ 66.05        
Debt Instrument, Convertible, Remaining Discount Amortization Period 7 months   7 months        
Debt Instrument, Convertible, Conversion Price | $ / shares $ 101.62   $ 101.62        
Purchase of capped call     $ 16,400        
Notes due 2024 [Member] | Subsequent Event              
Debt Instrument [Line Items]              
Debt Instrument, Face Amount         21,700    
Notes due 2027              
Debt Instrument [Line Items]              
Debt Instrument, Face Amount $ 150,000   $ 150,000        
Debt Instrument, Interest Rate, Stated Percentage 2.25%   2.25%        
Debt Instrument, Convertible, Conversion Ratio     23.9137        
Debt Instrument, Convertible, Stock Price Trigger | $ / shares     $ 41.82        
Debt Instrument, Convertible, Remaining Discount Amortization Period 47 months   47 months        
Debt Instrument, Convertible, Conversion Price | $ / shares $ 78.90   $ 78.90        
Purchase of capped call     $ 25,300        
Notes due 2027 | Subsequent Event              
Debt Instrument [Line Items]              
Debt Instrument, Face Amount         $ 266,800    
Notes due 2024- subject to Exchange              
Debt Instrument [Line Items]              
Debt Instrument, Face Amount $ 122,037   122,037        
Notes Exchange              
Debt Instrument [Line Items]              
Debt Issuance Cost 2,300   2,300        
Derivative Liability 3,800   3,800     $ 0  
Derivative, Loss on Derivative 3,800            
Debt Instrument, Fair Value Disclosure           123,300  
Notes Exchange - Capped Call              
Debt Instrument [Line Items]              
Derivative, Loss on Derivative 500            
Derivative Asset, Noncurrent $ 22,300   $ 22,300     $ 22,800