XML 68 R56.htm IDEA: XBRL DOCUMENT v3.19.1
LONG-TERM DEBT, DERIVATIVES AND LETTERS OF CREDIT - Convertible Debt (Details)
$ / shares in Units, $ in Thousands
3 Months Ended
Mar. 31, 2019
USD ($)
shares
days
$ / shares
Mar. 31, 2018
USD ($)
Dec. 31, 2018
USD ($)
May 17, 2018
USD ($)
Jul. 31, 2017
USD ($)
Debt Instrument [Line Items]          
Percentage of the maximum number of shares authorized for issuance 40.00%        
Percentage of maximum number of shares that would require cash settlement 60.00%        
Debt instrument, convertible, threshold percentage of stock price trigger for redemption 130.00%        
Debt instrument, convertible, threshold trading days for redemption | days 20        
Debt Instrument, Convertible, Threshold Consecutive Trading Days for redemption 30 days        
Remaining amortization period of convertible debt 52 months        
Tax impact of convertible debt embedded derivative liability reclassification to equity | $ $ 7,800        
Gains on the embedded derivative liability | $ $ 0 $ 4,547      
Convertible debt          
Debt Instrument [Line Items]          
Principal amount, long-term debt issued | $         $ 230,000
Interest rate on convertible debt 5.00%       5.00%
Initial conversion rate, convertible debt 46.0829        
Initial conversion price, convertible debt | $ / shares $ 21.70        
Debt Instrument, Convertible, Threshold Trading Days | days 20        
Debt Instrument, Convertible, Threshold Consecutive Trading Days | days 30        
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger 130.00%        
Number of business days after the specified trading price criteria met that notes may be converted | days 5        
Consecutive trading days, trading price criteria 5 days        
Convertible debt, threshold percentage, product of common stock price and conversion price 98.00%        
Shares outstanding, percentage threshold 19.99%        
Convertible debt, threshold shares, approval of shareholders | shares 5,964,858        
Number of shares into which debt is convertible | shares 10,599,067        
Debt Instrument, Redemption Price, Percentage 100.00%        
Term Loan Facility          
Debt Instrument [Line Items]          
Debt term 5 years        
Revolving Credit Facility          
Debt Instrument [Line Items]          
Debt term 5 years        
Maximum | Convertible debt          
Debt Instrument [Line Items]          
Number of shares into which debt is convertible | shares 14,838,703        
Number of shares that would require cash settlement | shares 8,873,845        
Not Designated as Hedging Instrument | Embedded derivative in convertible debt          
Debt Instrument [Line Items]          
Embedded derivative liability | $ $ 0   $ 0 $ 45,400