CONSOLIDATED STATEMENTS OF OPERATIONS (Unaudited) (Parenthetical) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
Sep. 30, 2016 |
Sep. 30, 2015 |
Sep. 30, 2016 |
Sep. 30, 2015 |
|
Amortization of upfront incentive consideration | $ 17,139 | $ 9,525 | $ 43,372 | $ 31,575 |
Stock-based compensation expense | 12,913 | 7,204 | 36,012 | 23,328 |
Cost of revenue [Member] | ||||
Stock-based compensation expense | 5,113 | 2,853 | 14,259 | 9,288 |
Selling, general and administrative [Member] | ||||
Stock-based compensation expense | $ 7,800 | $ 4,351 | $ 21,753 | $ 14,040 |