XML 103 R77.htm IDEA: XBRL DOCUMENT v3.22.4
Inventory Financing Agreements - Outstanding Borrowings, Letters Of Credit, And Contractual Undertaking Obligations Under The Intermediation Agreements (Details) - Washington Refinery Intermediation Agreement - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Discretionary Draw Facility    
Supply Commitment [Line Items]    
Outstanding amount of deferred payment arrangement $ 204,843 $ 126,225
Current borrowing capacity 204,843 126,225
MLC Receivable Advances    
Supply Commitment [Line Items]    
Outstanding amount of deferred payment arrangement 56,601 54,538
Current borrowing capacity 56,601 54,538
Repayments of lines of credit 0 0
MLC Receivable Advances | Letter of Credit    
Supply Commitment [Line Items]    
Letters of credit outstanding $ 115,001 $ 166,950