XML 49 R34.htm IDEA: XBRL DOCUMENT v3.8.0.1
Nature of the business (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Organization Consolidation And Presentation Of Financial Statements [Abstract]                      
Accumulated deficit $ 173,388       $ 142,681       $ 173,388 $ 142,681  
Net loss $ 8,065 $ 7,742 $ 7,380 $ 7,517 $ 6,004 $ 7,714 $ 6,016 $ 3,263 $ 30,704 $ 22,997 $ 15,752