v3.19.3
Related Party Transactions - Expenses From Related Parties (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Related Party Transaction [Line Items]        
Cost of materials and other $ 21,617 $ 19,590 $ 71,347 $ 61,198
Direct operating expenses (exclusive of depreciation and amortization) 47,554 35,334 128,004 121,468
Selling, general and administrative expenses 6,326 6,393 19,637 18,955
Coke Supply Agreement | CRRM | Petroleum coke        
Related Party Transaction [Line Items]        
Cost of materials and other 705 1,057 3,255 2,133
Hydrogen Purchase and Sale Agreement | CRRM | Hydrogen        
Related Party Transaction [Line Items]        
Cost of materials and other 984 1,072 3,719 3,157
Services Agreement | CVR Energy        
Related Party Transaction [Line Items]        
Direct operating expenses (exclusive of depreciation and amortization) 797 761 2,586 2,145
Selling, general and administrative expenses 3,915 3,595 11,724 10,353
Limited Partnership Agreement | CVR GP        
Related Party Transaction [Line Items]        
Direct operating expenses (exclusive of depreciation and amortization) 219 242 595 572
Selling, general and administrative expenses $ 651 $ 626 $ 2,191 $ 1,920