XML 62 R52.htm IDEA: XBRL DOCUMENT v3.23.2
Income taxes - Pre-tax Net Loss and Income Tax (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Income Tax Disclosure [Abstract]        
Loss before income taxes $ (11,357) $ (31,542) $ (18,426) $ (42,251)
Provision (benefit) for income taxes $ 1,333 $ 22,158 $ (15,996) $ 14,551
Effective tax rate (percent) (11.70%) (70.30%) 86.80% (34.40%)