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