XML 23 R46.htm IDEA: XBRL DOCUMENT v3.19.3
Stock based compensation - Compensation expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation $ 3,349 $ 2,636 $ 12,120 $ 13,072
Stock options        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation 3,008 2,559 10,312 12,428
Restricted stock units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation 259 24 1,609 480
Employee stock purchase plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation 82 53 199 164
Research and development        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation 1,304 1,176 5,975 3,706
General and administrative        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation $ 2,045 $ 1,460 6,145 $ 9,366
Sah        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation     $ 2,200  
Consultant duration     3 years