XML 95 R82.htm IDEA: XBRL DOCUMENT v3.22.4
Stock-based Compensation - Summary of Total Stock-based Compensation Cost from Stock Options, RSUs, ESPP, RSAs, and Sales of Stock (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]      
Total stock-based compensation expense $ 162,886 $ 227,161 $ 43,960
Stock-based compensation capitalized for software development and cloud-computing arrangement implementation costs 8,818 5,247 575
Total stock-based compensation cost 171,704 232,408 44,535
Cost of Revenue      
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]      
Total stock-based compensation expense 7,253 8,094 1,722
Sales and Marketing      
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]      
Total stock-based compensation expense 53,397 68,755 13,385
Research and Development      
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]      
Total stock-based compensation expense 63,262 85,040 12,930
General and Administrative      
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]      
Total stock-based compensation expense $ 38,974 $ 65,272 $ 15,923