XML 102 R83.htm IDEA: XBRL DOCUMENT v3.22.0.1
Inventory Financing Agreements - Schedule of Inventory Intermediation Fees (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Supply Commitment [Line Items]      
Interest expense $ 66,493 $ 70,222 $ 74,839
Supply and Offtake Agreement      
Supply Commitment [Line Items]      
Cost of goods and services sold 21,612 12,034 35,459
Interest expense 3,015 3,044 5,863
Washington Refinery Intermediation Agreement      
Supply Commitment [Line Items]      
Cost of goods and services sold 3,236 4,112 3,734
Interest expense $ 4,900 $ 2,791 $ 6,359