XML 64 R54.htm IDEA: XBRL DOCUMENT v3.23.2
Inventories - Schedule of Inventory (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Inventory [Line Items]    
Crude oil and feedstocks $ 368,957 $ 377,618
Refined products and blendstock 495,606 356,664
Warehouse stock and other 376,931 307,701
Total 1,241,494 1,041,983
RINs and environmental obligations 433,031 549,791
Titled Inventory    
Inventory [Line Items]    
Crude oil and feedstocks 152,175 112,082
Refined products and blendstock 337,097 188,040
Warehouse stock and other 376,931 307,701
Total 866,203 607,823
Supply and Offtake Agreement    
Inventory [Line Items]    
Crude oil and feedstocks 216,782 265,536
Refined products and blendstock 158,509 168,624
Warehouse stock and other 0 0
Total 375,291 434,160
Renewable Identification Numbers “RINs” and Environmental Credits    
Inventory [Line Items]    
Warehouse stock and other 293,300 258,200
RINs and environmental obligations 433,000 549,800
Environmental credit obligation, net $ 100,900 $ 152,600