XML 78 R67.htm IDEA: XBRL DOCUMENT v3.23.2
TRANSACTIONS WITH RELATED PARTIES - USD Services Agreement (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Related Party Transaction [Line Items]        
Selling, general and administrative $ 4,153 $ 7,395 $ 10,737 $ 16,141
Related party        
Related Party Transaction [Line Items]        
Selling, general and administrative 1,795 $ 2,565 3,979 7,889
Hardisty South entities | USD Shared Services Agreement | Related party        
Related Party Transaction [Line Items]        
Selling, general and administrative $ 0   $ 0 $ 3,200