XML 80 R56.htm IDEA: XBRL DOCUMENT v3.19.3
LONG-TERM DEBT, LETTERS OF CREDIT AND DERIVATIVES - Convertible Debt Details (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
May 17, 2018
USD ($)
Sep. 30, 2019
USD ($)
$ / shares
Sep. 30, 2018
USD ($)
Sep. 30, 2019
USD ($)
shares
days
$ / shares
Sep. 30, 2018
USD ($)
Jul. 31, 2017
Debt Instrument [Line Items]            
Debt instrument, convertible, threshold percentage of stock price trigger for redemption       130.00%    
Debt instrument, convertible, threshold trading days for redemption (at least) | days       20    
Threshold consecutive trading days for redemption       30 days    
Percentage of the maximum number of shares authorized for issuance   40.00%   40.00%    
Percentage of maximum number of shares that would require cash settlement   60.00%   60.00%    
Tax impact of convertible debt embedded derivative liability reclassification to equity | $ $ 7,800          
Loss on convertible debt embedded derivative (see Note 8) | $   $ 0 $ 0 $ 0 $ 24,783  
Remaining amortization period of convertible debt       46 months    
Convertible debt            
Debt Instrument [Line Items]            
Interest rate on convertible debt   5.00%   5.00%   5.00%
Initial conversion rate, convertible debt       46.0829    
Initial conversion price, convertible debt (in dollars per share) | $ / shares   $ 21.70   $ 21.70    
Threshold trading days | days       20    
Threshold consecutive trading days | days       30    
Threshold percentage of stock price trigger       130.00%    
Consecutive trading days, trading price criteria       5 days    
Number of business days after the specified trading price criteria met that notes may be converted | days       5    
Convertible debt, threshold percentage, product of common stock price and conversion price       98.00%    
Number of shares into which debt is convertible (in shares) | shares       10,599,067    
Shares outstanding, percentage threshold (more than)       19.99%    
Convertible debt, threshold shares, approval of shareholders (in shares) | shares       5,964,858    
Redemption price, percentage (equal to)       100.00%    
Convertible debt | Maximum            
Debt Instrument [Line Items]            
Number of shares into which debt is convertible (in shares) | shares       14,838,703    
Number of shares that would require cash settlement (in shares) | shares       8,873,845    
Not Designated as Hedging Instrument | Long-term debt            
Debt Instrument [Line Items]            
Embedded derivative liability | $ $ 45,400