XML 45 R42.htm IDEA: XBRL DOCUMENT v3.20.1
Stock based compensation - Compensation expense (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation $ 4,040 $ 3,518
Outstanding stock options    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation 3,208 2,776
Restricted stock units    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation 741 683
Employee stock purchase plan    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation 91 59
Research and development    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation 1,685 1,416
General and administrative    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation $ 2,355 $ 2,102