XML 87 R74.htm IDEA: XBRL DOCUMENT v3.22.4
Income taxes - Schedule of components of income before income taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income Tax Contingency [Line Items]      
Loss before income taxes $ (99,178) $ (106,420) $ (16,007)
United States [Member]      
Income Tax Contingency [Line Items]      
Loss before income taxes (98,462) (106,467) (16,269)
Foreign [Member]      
Income Tax Contingency [Line Items]      
Loss before income taxes $ (716) $ 47 $ 262