XML 130 R63.htm IDEA: XBRL DOCUMENT v3.20.1
Income taxes - Components of income (loss) before income taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Components of income (loss) before income taxes      
United States $ (40,010) $ (31,436) $ (27,019)
Foreign (973) (75)  
Loss before income tax $ (40,983) $ (31,511) $ (27,019)