XML 53 R42.htm IDEA: XBRL DOCUMENT v3.20.2
Stock based compensation - Compensation expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation $ 3,859 $ 5,254 $ 7,900 $ 8,771
Outstanding stock options        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation 2,930 4,528 6,138 7,304
Restricted stock units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation 864 668 1,605 1,351
Employee stock purchase plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation 65 58 157 116
Research and development        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation 1,764 3,256 3,449 4,671
General and administrative        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation $ 2,095 $ 1,998 $ 4,451 $ 4,100