XML 59 R48.htm IDEA: XBRL DOCUMENT v3.21.2
Revenue Recognition - Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Disaggregation of Revenue [Line Items]        
Revenues $ 1,310,368 $ 689,981 $ 3,416,573 $ 2,409,365
Refining        
Disaggregation of Revenue [Line Items]        
Revenues 1,242,848 626,426 3,237,450 2,229,853
Refining | Gasoline        
Disaggregation of Revenue [Line Items]        
Revenues 402,654 219,849 1,073,516 641,817
Refining | Distillates        
Disaggregation of Revenue [Line Items]        
Revenues 548,571 213,448 1,390,996 986,916
Refining | Other refined products        
Disaggregation of Revenue [Line Items]        
Revenues 291,185 188,586 771,722 581,839
Refining | Merchandise        
Disaggregation of Revenue [Line Items]        
Revenues 0 0 0 0
Refining | Transportation and terminalling services        
Disaggregation of Revenue [Line Items]        
Revenues 0 0 0 0
Refining | Other revenue        
Disaggregation of Revenue [Line Items]        
Revenues 438 4,543 1,216 19,281
Logistics        
Disaggregation of Revenue [Line Items]        
Revenues 46,735 41,722 136,750 143,004
Logistics | Gasoline        
Disaggregation of Revenue [Line Items]        
Revenues 0 0 0 0
Logistics | Distillates        
Disaggregation of Revenue [Line Items]        
Revenues 0 0 0 0
Logistics | Other refined products        
Disaggregation of Revenue [Line Items]        
Revenues 0 0 0 0
Logistics | Merchandise        
Disaggregation of Revenue [Line Items]        
Revenues 0 0 0 0
Logistics | Transportation and terminalling services        
Disaggregation of Revenue [Line Items]        
Revenues 46,735 41,722 136,750 143,004
Logistics | Other revenue        
Disaggregation of Revenue [Line Items]        
Revenues 0 0 0 0
Retail        
Disaggregation of Revenue [Line Items]        
Revenues 125,910 91,736 335,544 274,170
Retail | Gasoline        
Disaggregation of Revenue [Line Items]        
Revenues 93,054 59,344 243,058 179,348
Retail | Distillates        
Disaggregation of Revenue [Line Items]        
Revenues 7,616 7,847 19,626 24,939
Retail | Other refined products        
Disaggregation of Revenue [Line Items]        
Revenues 0 0 0 0
Retail | Merchandise        
Disaggregation of Revenue [Line Items]        
Revenues 24,314 24,010 69,746 68,421
Retail | Transportation and terminalling services        
Disaggregation of Revenue [Line Items]        
Revenues 0 0 0 0
Retail | Other revenue        
Disaggregation of Revenue [Line Items]        
Revenues $ 926 $ 535 $ 3,114 $ 1,462