XML 90 R64.htm IDEA: XBRL DOCUMENT v3.22.4
Inventories - Schedule of Inventory (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Inventory [Line Items]    
Crude oil and feedstocks $ 377,618 $ 301,367
Refined products and blendstock 356,664 322,609
Warehouse stock and other 307,701 166,341
Total 1,041,983 790,317
RINs and environmental obligations 549,791 311,014
Titled Inventory    
Inventory [Line Items]    
Crude oil and feedstocks 112,082 102,085
Refined products and blendstock 188,040 179,737
Warehouse stock and other 307,701 166,341
Total 607,823 448,163
Supply and Offtake Agreement    
Inventory [Line Items]    
Crude oil and feedstocks 265,536 199,282
Refined products and blendstock 168,624 142,872
Warehouse stock and other 0 0
Total 434,160 342,154
Renewable Identification Numbers “RINs” and Environmental Credits    
Inventory [Line Items]    
Warehouse stock and other $ 258,200 $ 120,100