XML 92 R87.htm IDEA: XBRL DOCUMENT v3.20.1
Fair value measurements (Percentages of Total Commodity Sales Excluding Effects of Hedging Activities) (Details) - Customer Concentration Risk - Commodity Sales
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2016
Coffeyville Resources LLC      
Concentration Risk [Line Items]      
Percentage of sales to significant purchaser     20.90%
Phillips 66 Company      
Concentration Risk [Line Items]      
Percentage of sales to significant purchaser 21.40% 26.00% 14.60%
Sunoco, Inc.      
Concentration Risk [Line Items]      
Percentage of sales to significant purchaser 15.10% 7.20%  
Alta Mesa Resources, Inc.      
Concentration Risk [Line Items]      
Percentage of sales to significant purchaser   6.70%  
Tom Stack LLC.      
Concentration Risk [Line Items]      
Percentage of sales to significant purchaser 10.00%    
Valero Energy Corporation      
Concentration Risk [Line Items]      
Percentage of sales to significant purchaser     13.30%