XML 93 R72.htm IDEA: XBRL DOCUMENT v3.22.4
Income taxes - Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Gross unrecognized tax benefits at the beginning of the year $ 3,608 $ 10,580 $ 146
Increases (decreases) related to prior year tax positions   (7,892)  
Increases (decreases) related to prior year tax positions 224   7,006
Increases related to current year tax positions 1,478 920 3,428
Statute of limitations expirations 0 0 0
Gross unrecognized tax benefits at the end of the year $ 5,310 $ 3,608 $ 10,580