XML 109 R90.htm IDEA: XBRL DOCUMENT v3.22.0.1
Stock-Based Compensation Expense and Employee Benefit Plans - Stock-based Compensation Expense (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense $ 76,132 $ 73,893 $ 196,291
Share-based payment arrangement, amount capitalized 5,800 5,900 7,300
Cost of revenue      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense 13,811 17,475 45,429
Research and development      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense 20,274 19,037 40,949
Sales and marketing      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense 17,085 10,997 32,478
General and administrative      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Share-based compensation expense $ 24,962 $ 26,384 $ 77,435