Quarterly report pursuant to Section 13 or 15(d)

Acquisitions - Schedule of Assets Acquired and Liabilities Assumed, Stingray (Details)

v3.10.0.1
Acquisitions - Schedule of Assets Acquired and Liabilities Assumed, Stingray (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 05, 2017
Jun. 30, 2018
Dec. 31, 2017
Dec. 31, 2016
Business Acquisition [Line Items]        
Goodwill   $ 101,511 $ 99,811 $ 88,727
Customer relationships        
Business Acquisition [Line Items]        
Finite-lived intangible asset, useful life (in years)   3 years 11 months    
Trade names        
Business Acquisition [Line Items]        
Finite-lived intangible asset, useful life (in years)   9 years 1 month    
SR Energy        
Business Acquisition [Line Items]        
Cash and cash equivalents $ 1,611      
Accounts receivable, net 3,913      
Receivables from related parties 3,684      
Inventories 0      
Prepaid expenses 35      
Property, plant and equipment 13,061      
Goodwill 3,929      
Other assets 7      
Total assets acquired 26,790      
Accounts payable and accrued liabilities 5,890      
Long-term debt 5,074      
Deferred tax liability 3,039      
Total liabilities assumed 14,003      
Net assets acquired 12,787      
SR Energy | Customer relationships        
Business Acquisition [Line Items]        
Identifiable intangible assets 0      
SR Energy | Trade names        
Business Acquisition [Line Items]        
Identifiable intangible assets 550      
Cementing        
Business Acquisition [Line Items]        
Cash and cash equivalents 1,060      
Accounts receivable, net 495      
Receivables from related parties 1,418      
Inventories 306      
Prepaid expenses 32      
Property, plant and equipment 7,459      
Goodwill 6,264      
Other assets 0      
Total assets acquired 18,444      
Accounts payable and accrued liabilities 2,063      
Long-term debt 2,000      
Deferred tax liability 1,406      
Total liabilities assumed 5,469      
Net assets acquired 12,975      
Cementing | Customer relationships        
Business Acquisition [Line Items]        
Identifiable intangible assets 1,140      
Cementing | Trade names        
Business Acquisition [Line Items]        
Identifiable intangible assets 270      
Stingray Acquisitions        
Business Acquisition [Line Items]        
Cash and cash equivalents 2,671      
Accounts receivable, net 4,408      
Receivables from related parties 5,102      
Inventories 306      
Prepaid expenses 67      
Property, plant and equipment 20,520      
Goodwill 10,193      
Other assets 7      
Total assets acquired 45,234      
Accounts payable and accrued liabilities 7,953      
Long-term debt 7,074      
Deferred tax liability 4,445      
Total liabilities assumed 19,472      
Net assets acquired 25,762      
Stingray Acquisitions | Customer relationships        
Business Acquisition [Line Items]        
Identifiable intangible assets 1,140      
Stingray Acquisitions | Trade names        
Business Acquisition [Line Items]        
Identifiable intangible assets $ 820      
Minimum | Stingray Acquisitions        
Business Acquisition [Line Items]        
Finite-lived intangible asset, useful life (in years) 5 years      
Maximum | Stingray Acquisitions        
Business Acquisition [Line Items]        
Finite-lived intangible asset, useful life (in years) 10 years