XML 59 R48.htm IDEA: XBRL DOCUMENT v3.10.0.1
Stock award plan - Share-based compensation expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Stock option plan        
Share-based compensation expense $ 8,084 $ 7,885 $ 15,831 $ 16,914
Research and development        
Stock option plan        
Share-based compensation expense 3,932 3,895 7,678 8,362
Selling, general and administrative        
Stock option plan        
Share-based compensation expense $ 4,152 $ 3,990 $ 8,153 $ 8,552