Stock based compensation - Summary of Stock-based Compensation Expenses (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
Sep. 30, 2022 |
Sep. 30, 2021 |
Sep. 30, 2022 |
Sep. 30, 2021 |
|
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Stock based compensation expense, net of tax | $ 141 | $ 1,182 | $ 2,855 | $ 3,771 |
Unit awards [Member] | ||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Stock based compensation expense, net of tax | 247 | 714 | 1,873 | 2,282 |
Option awards [Member] | ||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||
Stock based compensation expense, net of tax | $ (106) | $ 468 | $ 982 | $ 1,489 |