Transactions with Related Parties - Schedule of Costs Incurred with Related Parties (Details) - Affiliated Entity - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Liberty Oilfield Services, LLC        
Related Party Transaction [Line Items]        
Costs of goods/services provided $ 0 $ 27,675 $ 0 $ 40,182
Permian Tank And Manufacturing, Inc        
Related Party Transaction [Line Items]        
Costs of goods/services provided 1,780 1,308 3,767 2,365
Oil States Energy Services, LLC        
Related Party Transaction [Line Items]        
Costs of goods/services provided $ 2,106 $ 3,236 $ 4,401 $ 3,932