XML 57 R47.htm IDEA: XBRL DOCUMENT v3.23.1
Inventories - Schedule of Inventory (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Inventory [Line Items]    
Crude oil and feedstocks $ 330,405 $ 377,618
Refined products and blendstock 351,119 356,664
Warehouse stock and other 248,050 307,701
Total 929,574 1,041,983
RINs and environmental obligations 346,683 549,791
Titled Inventory    
Inventory [Line Items]    
Crude oil and feedstocks 169,144 112,082
Refined products and blendstock 181,199 188,040
Warehouse stock and other 248,050 307,701
Total 598,393 607,823
Supply and Offtake Agreement    
Inventory [Line Items]    
Crude oil and feedstocks 161,261 265,536
Refined products and blendstock 169,920 168,624
Warehouse stock and other 0 0
Total 331,181 434,160
Renewable Identification Numbers “RINs” and Environmental Credits    
Inventory [Line Items]    
Warehouse stock and other $ 193,200 $ 258,200