XML 17 R49.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Employee benefit plans - Allocation of Stock-based Compensation Expense (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Total stock-based compensation expense $ 37,188 $ 40,887 $ 51,255
Employee Service Share-based Compensation, Tax Benefit from Compensation Expense 0 0 0
Cost of Revenue [Member]      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Total stock-based compensation expense 1,902 1,954 1,935
Research and Development [Member]      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Total stock-based compensation expense 17,167 19,636 24,963
Selling and Marketing Expense [Member]      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Total stock-based compensation expense 8,043 9,459 10,498
General and Administrative [Member]      
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]      
Total stock-based compensation expense $ 10,076 $ 9,838 $ 13,859