Condensed Consolidated Statements of Operations Parenthetical - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Cost of revenues        
Stock-based Compensation Expense $ 2,790 $ 2,642 $ 5,367 $ 5,446
Sales and marketing        
Stock-based Compensation Expense 18,526 16,605 36,618 33,550
Research and development        
Stock-based Compensation Expense 25,648 22,409 49,163 44,508
General and administrative        
Stock-based Compensation Expense $ 5,150 $ 3,715 $ 10,161 $ 7,067