v3.20.4
Commitments - Additional Information (Details)
T in Thousands, $ in Millions
12 Months Ended
Dec. 31, 2020
USD ($)
T
$ / T
Dec. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Pet Coke Purchase Agreement      
Long-term Purchase Commitment [Line Items]      
Expenses related to agreement | $ $ 17.9 $ 10.3 $ 4.8
Utility Service Agreement      
Long-term Purchase Commitment [Line Items]      
Expenses related to agreement | $   3.7 10.6
The Coffeyville Facility | Messer Agreement      
Long-term Purchase Commitment [Line Items]      
Initial term of agreement 15 years    
Expenses related to agreement | $ $ 4.2 4.2 3.8
Natural Gas      
Long-term Purchase Commitment [Line Items]      
Cost of materials and other and direct operating expenses (exclusive of depreciation and amortization) | $ $ 32.4 $ 33.1 $ 42.4
Petroleum coke | Pet Coke Purchase Agreement      
Long-term Purchase Commitment [Line Items]      
Number of tons of pet coke agreed to purchase at fixed price through end of term | T 275    
Petroleum coke | The Coffeyville Facility | Coffeyville MSA | CRRM      
Long-term Purchase Commitment [Line Items]      
Average percentage of pet coke obtained during the last five years 60.00%    
Period for which average percentage of product obtained 5 years    
Average percentage of pet coke obtained during the current year 33.00%    
Rate petroleum coke price used to determine urea ammonium nitrate based price (in dollars per ton) 25    
UAN-based netback price, exclusive of transportation cost, under the related party agreement (in dollars per ton) 205    
Pet coke price adjustment for every $1.00 change in the UAN netback price, exclusive of transportation cost, used to calculate the UAN-based price under the related party agreement (in dollars per ton) 0.50    
UAN-based netback price change, exclusive of transportation cost, under the related party agreement (in dollars per ton) 1.00    
Petroleum coke | The Coffeyville Facility | Coffeyville MSA | Minimum | CRRM      
Long-term Purchase Commitment [Line Items]      
Rate petroleum coke price used to determine urea ammonium nitrate based price (in dollars per ton) 40    
Petroleum coke | The Coffeyville Facility | Coffeyville MSA | Maximum | CRRM      
Long-term Purchase Commitment [Line Items]      
Rate petroleum coke price used to determine urea ammonium nitrate based price (in dollars per ton) 5