XML 100 R70.htm IDEA: XBRL DOCUMENT v3.20.1
LONG-TERM DEBT, DERIVATIVES AND LETTERS OF CREDIT - Convertible Debt, Additional Information (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
May 17, 2018
USD ($)
Jul. 31, 2017
USD ($)
Jul. 25, 2017
$ / shares
Dec. 31, 2019
USD ($)
shares
days
$ / shares
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
Debt Instrument [Line Items]              
Principal       $ 353,876      
Debt instrument, convertible, threshold percentage of conversion price trigger for redemption       130.00%      
Debt instrument, convertible, threshold trading days for redemption | days       20      
Threshold consecutive trading days for redemption       30 days      
Issuance of convertible debt, net of issuance costs       $ 0 $ 0 $ 222,311  
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%      
Tax impact of convertible debt embedded derivative liability reclassification to equity $ 7,800            
(Loss) gain on convertible debt embedded derivative       $ 0 (24,783) $ 818  
Fair value of similar notes without conversion feature   $ 194,200          
Fair value of convertible debt conversion feature   35,800          
Carrying amount of convertible debt equity component, before issuance costs   14,400          
Issuance costs, allocated to equity             $ 100
Convertible debt, remaining amortization period       43 months      
Convertible debt              
Debt Instrument [Line Items]              
Issuance of convertible debt, face amount   $ 230,000          
Principal       $ 230,000 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      
Conversion premium     40.00%        
Share price | $ / shares     $ 15.50        
Threshold trading days | days       20      
Threshold consecutive trading days | days       30      
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%      
Number of shares into which debt is convertible | shares       10,599,067      
Shares outstanding, percentage threshold       19.99%      
Convertible debt, threshold shares, approval of shareholders | shares       5,964,858      
Redemption price, percentage (equal to)       100.00%      
Issuance of convertible debt, net of issuance costs   $ 222,300          
Embedded derivative liability   21,400          
Debt discount   35,800   $ 23,625 $ 28,982    
Debt instrument, term       72 months      
Total issuance costs associated with the Notes       $ 7,700      
Convertible debt issuance costs, allocated to debt       7,200      
Issuance costs, allocated to equity       $ 500      
Convertible debt | Maximum              
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      
Term Loan Facility              
Debt Instrument [Line Items]              
Repayment of term loan   160,000          
Revolving Credit Facility              
Debt Instrument [Line Items]              
Repayments of outstanding borrowings on revolving credit facility   $ 62,300          
Credit Facility | Not Designated as Hedging Instrument              
Debt Instrument [Line Items]              
Embedded derivative liability $ 45,400