XML 68 R57.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Revenue Recognition - Schedule of Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Disaggregation of Revenue [Line Items]    
Revenues $ 1,980,835 $ 1,685,209
Refining | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 1,926,616 1,615,412
Refining | Gasoline | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 647,186 450,325
Refining | Distillates | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 832,797 779,053
Refining | Other refined products | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 403,993 385,609
Refining | Merchandise | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Refining | Transportation and terminalling services | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Refining | Other revenue | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 42,640 425
Logistics | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 71,842 52,388
Logistics | Gasoline | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Logistics | Distillates | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Logistics | Other refined products | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Logistics | Merchandise | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Logistics | Transportation and terminalling services | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 71,842 52,388
Logistics | Other revenue | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Retail | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 140,134 135,572
Retail | Gasoline | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 103,293 100,188
Retail | Distillates | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 11,180 11,599
Retail | Other refined products | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Retail | Merchandise | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 24,793 22,828
Retail | Transportation and terminalling services | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues 0 0
Retail | Other revenue | Operating Segments    
Disaggregation of Revenue [Line Items]    
Revenues $ 868 $ 957