XML 65 R49.htm IDEA: XBRL DOCUMENT v3.22.2
Inventories - Schedule of Inventory (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Inventory [Line Items]    
Crude oil and feedstocks $ 474,212 $ 301,367
Refined products and blendstock 476,476 322,609
Warehouse stock and other 209,478 166,341
Total 1,160,166 790,317
RINs and environmental obligations 460,931 311,014
Titled Inventory    
Inventory [Line Items]    
Crude oil and feedstocks 237,399 102,085
Refined products and blendstock 206,927 179,737
Warehouse stock and other 209,478 166,341
Total 653,804 448,163
Supply and Offtake Agreement    
Inventory [Line Items]    
Crude oil and feedstocks 236,813 199,282
Refined products and blendstock 269,549 142,872
Warehouse stock and other 0 0
Total 506,362 342,154
Renewable Identification Numbers “RINs” and Environmental Credits    
Inventory [Line Items]    
Warehouse stock and other $ 160,400 $ 120,100