v3.22.0.1
Stockholders' Equity (Tables)
12 Months Ended
Dec. 31, 2021
Summary of Stock Option Award Activity The following table summarizes the stock option award activity under the Stock Plans during the year ended December 31, 2021:

 

 

Class A

Number

of Shares

 

 

Class B

Number

of Shares

 

 

Weighted-

Average

Exercise

Price

 

 

Weighted-

Average

Remaining

Contractual

Term

(in years)

 

 

Aggregate

Intrinsic

Value(1)

 

 

 

(in thousands, except per share data)

 

Outstanding at December 31, 2020

 

 

4,828

 

 

 

796

 

 

$

10.37

 

 

 

5.20

 

 

$

223,230

 

Granted

 

 

48

 

 

 

 

 

$

49.63

 

 

 

 

 

 

 

 

 

Exercised

 

 

(1,174

)

 

 

(168

)

 

$

10.95

 

 

 

 

 

 

 

 

 

Forfeited

 

 

(26

)

 

 

 

 

$

17.26

 

 

 

 

 

 

 

 

 

Outstanding at December 31, 2021

 

 

3,676

 

 

 

628

 

 

$

10.59

 

 

 

4.19

 

 

$

157,374

 

Exercisable at December 31, 2021

 

 

3,303

 

 

 

628

 

 

$

10.08

 

 

 

3.93

 

 

$

145,315

 

Vested and expected to vest at December 31, 2021

 

 

3,668

 

 

 

628

 

 

$

10.59

 

 

 

4.18

 

 

$

157,106

 

 

(1)

The aggregate intrinsic value is calculated as the difference between the exercise price of the underlying stock option awards and the closing market price of our Class A common stock as of December 31, 2021 and December 31, 2020, respectively.

Summary of Total Stock-based Compensation Expense

Total stock-based compensation expense by function was as follows:

 

 

Year Ended December 31,

 

 

2021

 

 

2020

 

 

2019

 

 

(in thousands)

 

Cost of revenue

$

17,221

 

 

$

9,367

 

 

$

6,365

 

Research and development

 

740,130

 

 

 

533,272

 

 

 

464,639

 

Sales and marketing

 

164,241

 

 

 

108,270

 

 

 

93,355

 

General and administrative

 

170,543

 

 

 

119,273

 

 

 

121,654

 

Total

$

1,092,135

 

 

$

770,182

 

 

$

686,013

 

 

Restricted Stock Units and Restricted Stock Awards  
Summary of RSU and RSA Award Activity

The following table summarizes the RSU and RSA activity during the year ended December 31, 2021:

 

 

 

Class A

Outstanding

 

 

Weighted-

Average

Grant Date

Fair Value

per RSU

 

 

 

(in thousands, except per share data)

 

Unvested at December 31, 2020

 

 

131,172

 

 

$

15.10

 

Granted

 

 

23,131

 

 

$

59.28

 

Vested

 

 

(59,009

)

 

$

16.20

 

Forfeited

 

 

(9,114

)

 

$

16.32

 

Unvested at December 31, 2021

 

 

86,180

 

 

$

26.07