XML 88 R49.htm IDEA: XBRL DOCUMENT v3.19.1
Significant accounting policies - Stock-based compensation (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Jan. 01, 2017
New Accounting Pronouncement, Early Adoption        
Expected dividend yield 0.00% 0.00% 0.00%  
Expected term (in years) 5 years 10 months 24 days 6 years 6 years  
Weighted-average fair value of options granted $ 7.19 $ 4.52 $ 2.41  
Probability of initial public offering     40.00%  
Accumulated deficit $ (175,888) $ (144,352)    
Minimum        
New Accounting Pronouncement, Early Adoption        
Risk-free interest rate 2.60% 1.80% 1.20%  
Expected volatility 32.40% 46.00% 44.90%  
Maximum        
New Accounting Pronouncement, Early Adoption        
Risk-free interest rate 3.00% 2.10% 1.30%  
Expected volatility 36.80% 52.00% 49.00%  
ASU No.2016-09 | Restatement Adjustment        
New Accounting Pronouncement, Early Adoption        
Accumulated deficit       $ 100