XML 58 R99.htm IDEA: XBRL DOCUMENT v3.20.1
Stock-Based Compensation and Employee Benefit Plans - Stock-based Compensation Expense (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based compensation expense $ 196,291 $ 168,482 $ 29,101
Stock based compensation costs, amount capitalized 7,300 13,600 1,800
Cost of revenue      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based compensation expense 45,429 29,680 6,355
Research and development      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based compensation expense 40,949 39,029 5,560
Sales and marketing      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based compensation expense 32,478 32,284 4,685
General and administrative      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based compensation expense $ 77,435 $ 67,489 $ 12,501