Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Additional Information (Details)

v3.7.0.1
Fair Value Measurements - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Dec. 31, 2016
Jun. 30, 2017
Jun. 30, 2016
Dec. 31, 2016
Dec. 30, 2016
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Property and equipment impairment expense   $ 0 $ 0    
PP&E, net $ 263,862 360,308   $ 263,862  
Goodwill 9,425 9,425 10,602 9,425  
Additions or disposals of Goodwill   0 0    
Nonrecurring basis          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Property and equipment impairment expense   0   6,305  
Goodwill impairment expense   0   1,177  
Interest rate swap          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Gain (loss) interest rate swap   200 $ (100)    
Interest rate swap | Recurring basis          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Fair value of interest rate swap liability 300 100   300  
Balance | Nonrecurring basis          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Goodwill 9,425 $ 0   9,425  
Permain drilling unit          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Property and equipment impairment expense 6,300        
PP&E, net         $ 15,000
Surface drilling reporting unit          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Goodwill 1,200     1,200  
Surface drilling reporting unit | Nonrecurring basis          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Reporting unit, fair value 3,800     3,800  
Goodwill impairment expense 1,200        
Surface drilling reporting unit | Balance | Nonrecurring basis          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Reporting unit, amount of fair value in excess of carrying amount 4,200     4,200  
Surface drilling reporting unit | Estimated fair value measurements | Nonrecurring basis          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Goodwill $ 0     $ 0