v3.22.2.2
Income taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Income Tax Disclosure [Abstract]        
Provision (benefit) for income taxes $ 14,010 $ (222) $ 20,061 $ 693
Effective income tax rate reconciliation, percent     (28.60%) (0.35%)