XML 62 R48.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income taxes: Components of income (loss) before income taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Components of income (loss) before income taxes      
Domestic $ 52,250 $ 41,759 $ 21,972
Foreign (21,132) (17,499) (9,260)
Income before income taxes $ 31,118 $ 24,260 $ 12,712