XML 58 R36.htm IDEA: XBRL DOCUMENT v3.23.2
Revenue from Contracts with customers - Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Disaggregation of Revenue [line Items]        
Net sales $ 185,561 $ 363,646 $ 324,363 $ 729,891
Long-term Contract with Customer        
Disaggregation of Revenue [line Items]        
Net sales 76,369 229,290 146,235 471,771
Short-term Contract with Customer        
Disaggregation of Revenue [line Items]        
Net sales 101,137 109,194 158,097 217,244
By-products and other        
Disaggregation of Revenue [line Items]        
Net sales $ 8,055 $ 25,162 $ 20,031 $ 40,876