XML 67 R80.htm IDEA: XBRL DOCUMENT v3.19.3
Income taxes - Additional Information (Details) - USD ($)
$ in Thousands
Jan. 01, 2018
Dec. 31, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Adjustments to accumulated deficit for new accounting pronouncements   $ (1,824)
Accounting Standards Update 2016-16    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Adjustments to accumulated deficit for new accounting pronouncements $ 1,800