XML 116 R94.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - 2015 Term Loan Facility (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
May 31, 2017
Apr. 30, 2017
Aug. 31, 2015
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Debt Instrument [Line Items]            
Gain (loss) on debt extinguishment       $ (10,926) $ 0 $ (10,449)
2015 Term Loan Facility            
Debt Instrument [Line Items]            
Annual mandatory prepayment of debt as a percentage of excess cash flow     50.00%      
Line of Credit | 2015 Term Loan Facility            
Debt Instrument [Line Items]            
Debt term     6 years      
Maximum borrowing capacity     $ 350,000      
Repayment of debt $ 321,800 $ 3,000        
Gain (loss) on debt extinguishment $ (9,700)