XML 62 R49.htm IDEA: XBRL DOCUMENT v3.21.2
Inventories - Schedule of Inventory (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Inventory [Line Items]    
Crude oil and feedstocks $ 275,225 $ 163,647
Refined products and blendstock 243,429 195,747
Warehouse stock and other 105,499 70,461
Total 624,153 429,855
RINs and environmental obligations 354,486 150,482
Titled Inventory    
Inventory [Line Items]    
Crude oil and feedstocks 73,378 88,307
Refined products and blendstock 122,872 112,146
Warehouse stock and other 105,499 70,461
Total 301,749 270,914
Supply and Offtake Agreements    
Inventory [Line Items]    
Crude oil and feedstocks 201,847 75,340
Refined products and blendstock 120,557 83,601
Warehouse stock and other 0 0
Total 322,404 158,941
Renewable Identification Numbers “RINs” and Environmental Credits    
Inventory [Line Items]    
Warehouse stock and other $ 60,600 $ 26,700