XML 49 R37.htm IDEA: XBRL DOCUMENT v3.22.2
Stock-based Compensation - Summary of Total Stock-based Compensation Cost from Stock Options, RSUs, ESPP, RSAs, and Sales of Stock (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Stock-based compensation expense $ 33,895 $ 137,443 $ 71,104 $ 147,746
Stock-based compensation capitalized for software development 1,895 837 4,061 920
Total stock-based compensation cost 35,790 138,280 75,165 148,666
Cost of Revenue        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Stock-based compensation expense 2,046 4,918 3,504 6,079
Sales and Marketing        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Stock-based compensation expense 12,572 42,855 22,868 46,107
Research and Development        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Stock-based compensation expense 13,144 51,317 26,152 54,563
General and Administrative        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Stock-based compensation expense $ 6,133 $ 38,353 $ 18,580 $ 40,997