XML 73 R56.htm IDEA: XBRL DOCUMENT v3.10.0.1
Income taxes - Schedule of Components of Income (Loss) Before Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Income Tax Disclosure [Abstract]      
Domestic $ 17,405 $ 22,409 $ 9,677
Foreign 551 60 135
Income before provision for income taxes $ 17,956 $ 22,469 $ 9,812