XML 115 R101.htm IDEA: XBRL DOCUMENT v3.22.0.1
STOCK-BASED COMPENSATION - Summary of Stock-based Compensation Expense (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Total stock-based compensation expense $ 114,286 $ 42,503 $ 20,176
Income tax benefit included in the provision for incomes taxes 97,129 61,389 8,185
Cost of revenues      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Total stock-based compensation expense 7,366 3,759 1,650
Research and development      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Total stock-based compensation expense 33,927 12,701 4,897
Sales and marketing      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Total stock-based compensation expense 37,434 11,548 5,678
General and administrative      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Total stock-based compensation expense 35,559 14,495 7,216
Restructuring      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Total stock-based compensation expense $ 0 $ 0 $ 735