XML 64 R50.htm IDEA: XBRL DOCUMENT v3.22.2.2
Inventories - Schedule of Inventory (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Inventory [Line Items]    
Crude oil and feedstocks $ 322,868 $ 301,367
Refined products and blendstock 346,911 322,609
Warehouse stock and other 244,843 166,341
Total 914,622 790,317
RINs and environmental obligations 489,613 311,014
Titled Inventory    
Inventory [Line Items]    
Crude oil and feedstocks 98,449 102,085
Refined products and blendstock 170,197 179,737
Warehouse stock and other 244,843 166,341
Total 513,489 448,163
Supply and Offtake Agreement    
Inventory [Line Items]    
Crude oil and feedstocks 224,419 199,282
Refined products and blendstock 176,714 142,872
Warehouse stock and other 0 0
Total 401,133 342,154
Renewable Identification Numbers “RINs” and Environmental Credits    
Inventory [Line Items]    
Warehouse stock and other $ 194,000 $ 120,100