XML 37 R33.htm IDEA: XBRL DOCUMENT v3.20.1
Convertible debt (Details)
$ / shares in Units, $ in Thousands
3 Months Ended
Mar. 31, 2020
USD ($)
$ / shares
Mar. 31, 2019
USD ($)
Dec. 31, 2019
USD ($)
Debt Instrument [Line Items]      
Debt Instrument, Face Amount $ 143,750   $ 143,750
Convertible Debt, Noncurrent 112,406   110,704
Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net 31,344   33,046
Convertible Debt 112,406   110,704
Debt Instrument, Convertible, Carrying Amount of Equity Component 32,883   32,883
Debt Instrument, Periodic Payment, Interest 360 $ 1,250  
Amortization of Financing Costs 156 365  
Amortization of Debt Discount (Premium) 1,546 2,741  
Interest Expense, Debt 2,062 $ 4,356  
Debt Instrument, Fair Value Disclosure 121,500   $ 163,200
Purchase of convertible bond hedge $ 16,400    
Notes due 2019 [Member]      
Debt Instrument [Line Items]      
Debt Instrument, Convertible, Stock Price Trigger | $ / shares $ 33.79    
Investment Warrants, Exercise Price | $ / shares $ 45.48    
Notes due 2024 [Member]      
Debt Instrument [Line Items]      
Debt Issuance Cost $ 3,400    
Convertible debt, issuance cost, equity component $ 1,100    
Debt Instrument, Convertible, Conversion Ratio 15.1394    
Debt Instrument, Convertible, Stock Price Trigger | $ / shares $ 66.05    
Debt Instrument, Convertible, Conversion Price | $ / shares $ 101.62    
Debt Instrument, Face Amount $ 143,750    
Convertible Debt, Current 0    
Convertible Debt, Noncurrent 112,406    
Debt Instrument, Convertible, Carrying Amount of Equity Component $ 32,900    
Debt Instrument, Convertible, Remaining Discount Amortization Period 49 months    
Debt Instrument, Interest Rate, Stated Percentage 1.00%