XML 15 R31.htm IDEA: XBRL DOCUMENT v3.19.3
Nature of business and basis of presentation - Liquidity (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Dec. 31, 2018
Nature of business and basis of presentation      
Net cash (used in) provided by operating activities $ (55,168) $ (39,312)  
Accumulated deficit $ (176,128)   $ (164,166)
Substantial doubt about going concern, within twelve months false