v3.22.2.2
Revenues - Schedule of Disaggregated Revenues (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Disaggregation of Revenue [Line Items]        
Sales and other revenues $ 10,599,002 $ 4,685,059 $ 29,219,912 $ 12,766,475
Mid-Continent        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 3,782,723 2,467,792 10,837,845 6,470,231
Southwest        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 1,350,230 923,319 3,877,579 2,632,833
Rocky Mountains        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 2,561,803 414,334 7,226,552 1,025,389
Northeast        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 264,703 221,488 782,562 593,741
Canada        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 275,432 199,924 819,865 595,208
Europe, Asia and Latin America        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 85,395 80,742 268,711 252,814
Transportation fuels        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 7,087,662 3,428,501 20,172,623 9,224,169
Specialty lubricant products        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 728,938 618,310 2,159,078 1,704,930
Asphalt, fuel oil and other products        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 503,686 260,788 1,481,413 641,117
Refined product        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 8,320,286 4,307,599 23,813,114 11,570,216
Excess crude oil revenues        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 661,818 343,500 1,916,289 1,089,075
Renewable diesel revenues        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 254,952 0 399,204 0
Transportation and logistic services        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 26,133 25,459 79,310 77,809
Marketing revenues        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 1,266,681 0 2,880,024 0
Other revenues        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 69,132 8,501 131,971 29,375
Refining | Asphalt, fuel oil and other products        
Disaggregation of Revenue [Line Items]        
Sales and other revenues 416,200 213,700 1,227,200 496,900
Lubricants and Specialty Products | Asphalt, fuel oil and other products        
Disaggregation of Revenue [Line Items]        
Sales and other revenues $ 87,500 $ 47,100 $ 254,200 $ 144,200