XML 489 R91.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Income taxes - Summary of Reconciliation of Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Beginning of the year $ 2,975 $ 968 $ 229
Increase related to current year tax positions 0 2,007 871
Increase related to prior year tax positions 0 0 0
Decrease for tax positions of prior years (2,875) 0 (129)
Decrease due to expiration of statute of limitations 0 0 (3)
End of the year $ 100 $ 2,975 $ 968