XML 48 R37.htm IDEA: XBRL DOCUMENT v3.21.2
Income taxes: Components of (loss) income before income taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Components of income before income taxes        
Domestic $ 828 $ 14,113 $ 29,330 $ 31,902
Foreign (2,899) (2,814) (5,199) (7,770)
(Loss) income before income taxes $ (2,071) $ 11,299 $ 24,131 $ 24,132