XML 68 R57.htm IDEA: XBRL DOCUMENT v3.24.3
Inventories - Schedule of Inventory (Details) - USD ($)
$ in Thousands
Sep. 30, 2024
Dec. 31, 2023
Inventory [Line Items]    
Crude oil and feedstocks $ 292,074 $ 343,856
Refined products and blendstock 499,680 491,920
Warehouse stock and other 280,169 324,619
Total 1,071,923 1,160,395
RINs and environmental obligations 197,647 286,904
Titled Inventory    
Inventory [Line Items]    
Crude oil and feedstocks 142,482 175,307
Refined products and blendstock 499,680 358,236
Warehouse stock and other 280,169 324,619
Total 922,331 858,162
Inventory Intermediation Agreement    
Inventory [Line Items]    
Crude oil and feedstocks 149,592 0
Refined products and blendstock 0 0
Warehouse stock and other 0 0
Total 149,592 0
Supply and Offtake Agreement    
Inventory [Line Items]    
Crude oil and feedstocks 0 168,549
Refined products and blendstock 0 133,684
Warehouse stock and other 0 0
Total 0 302,233
Renewable Identification Numbers “RINs” and Environmental Credits    
Inventory [Line Items]    
Warehouse stock and other 193,800 237,600
RINs and environmental obligations $ 197,600 $ 286,900