v3.25.2
Fair Value Measurements - Schedule of Fair Value Amounts by Hierarchy Level (Details) - USD ($)
$ in Thousands
Jun. 30, 2025
Dec. 31, 2024
Liabilities    
Net Carrying Value on Balance Sheet $ (70,212) $ (19,548)
Warehouse stock and other 264,019 281,882
Prepaid and other current assets    
Liabilities    
Cash collateral 9,600 38,600
Other accrued liability    
Liabilities    
Warehouse stock and other 215,900 187,500
Renewable Identification Numbers “RINs” and Environmental Credits    
Liabilities    
Warehouse stock and other 171,200 195,000
Renewable Identification Numbers “RINs” and Environmental Credits | Inventories    
Liabilities    
Warehouse stock and other 171,200 195,000
Renewable Identification Numbers “RINs” and Environmental Credits | Other long-term assets    
Liabilities    
Warehouse stock and other 5,600  
Fair Value, Measurements, Recurring    
Liabilities    
Liabilities, fair value disclosure, gross (456,538) (272,147)
Derivative liabilities, at fair value, net 363,360 212,581
Financial and nonfinancial liabilities, fair value disclosure (93,178) (59,566)
Fair Value, Measurements, Recurring | Prepaid and other current assets    
Liabilities    
Cash collateral 2,000 2,300
Fair Value, Measurements, Recurring | Level 1    
Liabilities    
Liabilities, fair value disclosure, gross (12,563) (215,139)
Fair Value, Measurements, Recurring | Level 2    
Liabilities    
Liabilities, fair value disclosure, gross (440,297) (55,420)
Fair Value, Measurements, Recurring | Level 3    
Liabilities    
Liabilities, fair value disclosure, gross (3,678) (1,588)
Fair Value, Measurements, Recurring | Exchange Traded | Commodity derivatives    
Assets    
Gross Fair Value 402,310 223,172
Effect of Counter-Party Netting (363,360) (212,581)
Net Carrying Value on Balance Sheet 38,950 10,591
Liabilities    
Gross Fair Value (366,721) (226,037)
Effect of Counter-Party Netting 363,360 212,581
Net Carrying Value on Balance Sheet (3,361) (13,456)
Fair Value, Measurements, Recurring | Exchange Traded | Citi repurchase obligation derivative    
Liabilities    
Gross Fair Value (3,678) (1,588)
Effect of Counter-Party Netting 0 0
Net Carrying Value on Balance Sheet (3,678) (1,588)
Fair Value, Measurements, Recurring | Exchange Traded | Interest rate derivatives    
Liabilities    
Gross Fair Value (758) (24)
Effect of Counter-Party Netting 0 0
Net Carrying Value on Balance Sheet (758) (24)
Fair Value, Measurements, Recurring | Exchange Traded | Gross environmental credit obligations    
Liabilities    
Gross Fair Value (85,381) (44,498)
Effect of Counter-Party Netting 0 0
Net Carrying Value on Balance Sheet (85,381) (44,498)
Fair Value, Measurements, Recurring | Exchange Traded | Level 1 | Commodity derivatives    
Assets    
Gross Fair Value 10,746 209,666
Liabilities    
Gross Fair Value (12,563) (215,139)
Fair Value, Measurements, Recurring | Exchange Traded | Level 1 | Citi repurchase obligation derivative    
Liabilities    
Gross Fair Value 0 0
Fair Value, Measurements, Recurring | Exchange Traded | Level 1 | Interest rate derivatives    
Liabilities    
Gross Fair Value 0 0
Fair Value, Measurements, Recurring | Exchange Traded | Level 1 | Gross environmental credit obligations    
Liabilities    
Gross Fair Value 0 0
Fair Value, Measurements, Recurring | Exchange Traded | Level 2 | Commodity derivatives    
Assets    
Gross Fair Value 391,564 13,506
Liabilities    
Gross Fair Value (354,158) (10,898)
Fair Value, Measurements, Recurring | Exchange Traded | Level 2 | Citi repurchase obligation derivative    
Liabilities    
Gross Fair Value 0 0
Fair Value, Measurements, Recurring | Exchange Traded | Level 2 | Interest rate derivatives    
Liabilities    
Gross Fair Value (758) (24)
Fair Value, Measurements, Recurring | Exchange Traded | Level 2 | Gross environmental credit obligations    
Liabilities    
Gross Fair Value (85,381) (44,498)
Fair Value, Measurements, Recurring | Exchange Traded | Level 3 | Commodity derivatives    
Assets    
Gross Fair Value 0 0
Liabilities    
Gross Fair Value 0 0
Fair Value, Measurements, Recurring | Exchange Traded | Level 3 | Citi repurchase obligation derivative    
Liabilities    
Gross Fair Value (3,678) (1,588)
Fair Value, Measurements, Recurring | Exchange Traded | Level 3 | Interest rate derivatives    
Liabilities    
Gross Fair Value 0 0
Fair Value, Measurements, Recurring | Exchange Traded | Level 3 | Gross environmental credit obligations    
Liabilities    
Gross Fair Value $ 0 $ 0