XML 44 R33.htm IDEA: XBRL DOCUMENT v3.22.0.1
Stock-Based Compensation (Tables)
12 Months Ended
Dec. 31, 2021
Share-based Payment Arrangement [Abstract]  
Stock-based Compensation Expense
Stock-based compensation expense included in the consolidated statements of operations was as follows:
Year Ended December 31,
(in thousands)
202120202019
Cost of revenue
$4,446$3,158$2,817
Sales and marketing
29,41019,84216,032
Research and development
20,59314,7948,911
General and administrative
24,95621,77915,683
Total stock-based compensation expense
$79,405

$59,573

$43,443
Summary of Restricted Stock and Restricted Stock Units
A summary of our restricted stock and RSU activity is presented below:
Restricted StockRSUs
(in thousands, except for per share data)
Number
of Shares
Weighted
Average
Grant Date Fair Value
Number
of Shares
Weighted
Average
Grant Date Fair Value
Unvested balance at December 31, 2018890$4.25 1,129$18.90 
Granted
— 2,71527.81 
Vested
(395)4.25 (479)18.28 
Forfeited
— (471)25.21 
Unvested balance at December 31, 20194954.25 2,89426.34 
Granted
3,57028.23 
Vested
(396)4.25 (1,504)25.37 
Forfeited
— (470)26.68 
Unvested balance at December 31, 2020994.25 4,49028.13 
Granted
— 3,84243.57 
Vested
(99)4.25 (1,872)28.14 
Forfeited
— (679)33.64 
Unvested balance at December 31, 20215,78137.74 
Stock Option Activity
A summary of our stock option activity is below:
(in thousands, except for per share data and years)
Number
of Shares
Weighted
Average
Exercise Price
Weighted-Average Remaining Contractual Term (in years)

Aggregate Intrinsic Value
Outstanding at December 31, 201819,219$7.78 8.0$277,114
Granted
Exercised
(4,205)4.53 98,378
Forfeited/canceled
(2,075)10.63 
Outstanding at December 31, 201912,9398.38 7.1201,608
Granted
Exercised
(2,956)7.34 73,277
Forfeited/canceled
(542)10.80 
Outstanding at December 31, 20209,4418.56 6.4412,547
Granted
Exercised
(2,671)6.84111,256
Forfeited/canceled
(39)14.96
Outstanding at December 31, 20216,7319.215.5308,677
Exercisable at December 31, 20215,8518.305.4273,642
Schedule of Share-based Payment Award, Employee Stock Purchase Plan, Valuation Assumptions
The fair value of the 2018 ESPP purchase rights was estimated on the offering or modification dates using a Black-Scholes option-pricing model and the following assumptions:
Year Ended December 31,
202120202019
Expected term (in years)
0.5 — 2.0
0.5 — 2.0
0.5 — 2.0
Expected volatility
37.2% — 59.4%
41.6% — 60.1%
34.4% — 44.6%
Risk-free interest rate
0.1% — 0.2%
0.1% — 0.9%
1.5% — 2.5%
Expected dividend yield