XML 104 R78.htm IDEA: XBRL DOCUMENT v3.22.4
Inventory Financing Agreements - Schedule of Inventory Intermediation Fees (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Supply Commitment [Line Items]      
Interest expense $ 68,288 $ 66,493 $ 70,222
Cost of revenues (excluding depreciation) 6,376,014 4,338,474 2,947,697
Supply and Offtake Agreement      
Supply Commitment [Line Items]      
Cost of goods and services sold 100,610 21,612 12,034
Interest expense 6,150 3,015 3,044
Supply and Offtake Agreement | Inventory Intermediation | Mandatory Market Structure Roll Fees      
Supply Commitment [Line Items]      
Cost of revenues (excluding depreciation) 63,300 4,000  
Supply and Offtake Agreement | Inventory Intermediation | Market Structure Benefit      
Supply Commitment [Line Items]      
Cost of revenues (excluding depreciation)     3,000
Washington Refinery Intermediation Agreement      
Supply Commitment [Line Items]      
Cost of goods and services sold 3,000 3,236 4,112
Interest expense $ 10,111 $ 4,900 $ 2,791