v3.19.2
Shareholders' equity (deficit) - Additional paid-in capital (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2019
Mar. 31, 2019
Jun. 30, 2018
Mar. 31, 2018
Jun. 30, 2019
Jun. 30, 2018
Additional paid-in capital            
Balance at the beginning of period   $ (55,210)     $ (55,210)  
Share-based compensation expense $ 276 211 $ 79 $ 125    
Exercise of stock options   25 7 30    
Balance at the end of period 145,313       145,313  
Additional paid-in capital            
Additional paid-in capital            
Balance at the beginning of period 2,840 2,655 2,472 2,372 2,655 $ 2,372
Share-based compensation expense 276 211 79 125 487 204
Exercise of stock options   (26) (7) (25) (26) (32)
Balance at the end of period $ 3,116 $ 2,840 $ 2,544 $ 2,472 $ 3,116 $ 2,544