XML 46 R35.htm IDEA: XBRL DOCUMENT v3.22.2.2
Revenue from Contracts with customers - Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Disaggregation of Revenue [line Items]        
Revenue $ 303,840 $ 347,348 $ 1,033,731 $ 982,495
Long-term Contract with Customer        
Disaggregation of Revenue [line Items]        
Revenue 212,087 267,349 683,858 766,503
Short-term Contract with Customer        
Disaggregation of Revenue [line Items]        
Revenue 79,710 69,295 296,954 181,754
By-products and other        
Disaggregation of Revenue [line Items]        
Revenue $ 12,043 $ 10,704 $ 52,919 $ 34,238