XML 134 R115.htm IDEA: XBRL DOCUMENT v3.24.0.1
Commitments and Contingencies (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2022
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Revenue from Contract with Customer Benchmark | Customer Concentration Risk | One Major Customer        
Long-term Purchase Commitment [Line Items]        
Concentration risk (in percent)   13.00% 17.00% 13.00%
Tesoro Corporation | Indemnification Agreement        
Long-term Purchase Commitment [Line Items]        
Guarantor obligations, deductible   $ 1,000    
Guarantor obligations, maximum exposure, undiscounted   15,000    
Wyoming Refinery One        
Long-term Purchase Commitment [Line Items]        
Accrual for environmental loss contingencies   $ 14,000    
Environmental costs recognized, period for recognition of one third costs (in years)   5 years    
Environmental costs recognized, period for recognition (in years)   30 years    
Wyoming Refinery Two | Waste Water Treatment System        
Long-term Purchase Commitment [Line Items]        
Accrual for environmental loss contingencies   $ 11,600    
Wyoming Refinery        
Long-term Purchase Commitment [Line Items]        
Loss contingency, range of possible loss, portion not accrued   300    
Regulation of Greenhouse Gases        
Long-term Purchase Commitment [Line Items]        
Gain related to litigation settlement   $ 102,100    
State Tax Authority | Washington Department Of Revenue        
Long-term Purchase Commitment [Line Items]        
Income tax examination, estimate of possible loss $ 1,400