Commitments and Contingencies (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended |
---|---|---|
Mar. 31, 2022 |
Jun. 30, 2025 |
|
Wyoming Refinery One | ||
Long-term Purchase Commitment [Line Items] | ||
Accrual for environmental loss contingencies | $ 12,700 | |
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 | |
Washington Department of Revenue | State Tax Authority | ||
Long-term Purchase Commitment [Line Items] | ||
Income tax examination, estimate of possible loss | $ 1,400 |