v3.22.2.2
Properties and Equipment (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Property, Plant and Equipment [Line Items]      
Properties and equipment $ 2,194,324   $ 2,050,065
Less accumulated depreciation (777,126)   (721,037)
Properties and equipment, net 1,417,198   1,329,028
Depreciation expense 61,100 $ 60,900  
Pipelines, terminals and tankage      
Property, Plant and Equipment [Line Items]      
Properties and equipment 1,615,319   1,527,697
Refinery assets      
Property, Plant and Equipment [Line Items]      
Properties and equipment 353,504   348,882
Land and right of way      
Property, Plant and Equipment [Line Items]      
Properties and equipment 125,074   98,837
Construction in progress      
Property, Plant and Equipment [Line Items]      
Properties and equipment 30,203   26,446
Other      
Property, Plant and Equipment [Line Items]      
Properties and equipment $ 70,224   $ 48,203