XML 56 R45.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stock award plan - Share-based compensation expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Stock option plan        
Share-based compensation expense $ 7,168 $ 8,959 $ 24,082 $ 26,610
Research and development        
Stock option plan        
Share-based compensation expense 3,624 4,319 11,986 12,734
Selling, general and administrative        
Stock option plan        
Share-based compensation expense $ 3,544 $ 4,640 $ 12,096 $ 13,876