XML 104 R80.htm IDEA: XBRL DOCUMENT v3.20.4
Stock-Based Compensation and Employee Benefit Plan - Stock-based Compensation Expense (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense $ 73,893 $ 196,291 $ 168,482
Share-based payment arrangement, amount capitalized 5,900 7,300 13,600
Cost of revenue      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense 17,475 45,429 29,680
Research and development      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense 19,037 40,949 39,029
Sales and marketing      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense 10,997 32,478 32,284
General and administrative      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense $ 26,384 $ 77,435 $ 67,489