XML 90 R81.htm IDEA: XBRL DOCUMENT v3.20.2
Share-based compensation - Allocation of Compensation Expense Related to Option (Details) - Stock Options - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]    
Compensation expense $ 10,355 $ 6,647
Selling, General and Administrative    
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]    
Compensation expense 5,548 3,030
Research and Development    
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]    
Compensation expense $ 4,807 $ 3,617