v3.20.4
Shareholders' Equity (Tables)
12 Months Ended
Dec. 31, 2019
Equity [Abstract]  
Summary of the Stock Option and RSU Award Activities
The following table summarizes the stock option and RSU award activities under the Company's share-based compensation plans for the years ended December 31, 2020 and 2019:

Shares Subject to Options OutstandingOutstanding RSUs
Number of Options (1)
Weighted Average Exercise Price
$
Remaining Contractual Term (in years)
Aggregate Intrinsic Value (2)
$
Weighted Average Grant Date Fair Value
$
Outstanding RSUsWeighted Average Grant Date Fair Value
$
December 31, 20185,476,790 32.96 6.23577,731  2,473,665 92.40 
Stock options granted488,485 165.03— — 126.93 — — 
Stock options exercised(2,084,063)23.19— — — — — 
Stock options forfeited(68,970)68.24— — — — — 
RSUs granted— — — — — 888,991 232.09 
RSUs settled— — — — — (1,252,250)84.98 
RSUs forfeited— — — — — (170,488)116.06 
December 31, 20193,812,242 54.59 6.141,307,565  1,939,918 159.13 
Stock options granted258,163 505.69— — 197.26— — 
Stock options exercised(1,530,759)46.26— — — — — 
Stock options forfeited(50,369)189.56— — — — — 
RSUs granted— — — — — 473,697 645.99 
RSUs settled— — — — — (1,176,637)138.04 
RSUs forfeited— — — — — (124,011)262.93 
December 31, 20202,489,277 103.765.452,559,442  1,112,967 377.08 
Stock options exercisable as of December 31, 20201,852,236 44.614.662,014,011 
(1) As at December 31, 2020, 992,376 of the outstanding stock options were granted under the Company's Legacy Option Plan and are exercisable for Class B multiple voting shares, 1,441,791 of the outstanding stock options were granted under the Company's Stock Option Plan and are exercisable for Class A subordinate voting shares, and 55,110 of the outstanding stock options were granted under the 6 River Systems 2016 Amended and Restated Stock Option and Grant Plan and are exercisable for Class A subordinate voting shares.
(2) 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 the Company's Class A subordinate voting shares as of December 31, 2020 and December 31, 2019.
Schedule of Assumptions Used to Estimate the Fair Value of Stock Options
The grant weighted average assumptions used to estimate the fair value of stock options granted to employees were as follows:
    
Years ended
December 31, 2020December 31, 2019
Expected volatility46.4 %50.7 %
Risk-free interest rate1.04 %2.25 %
Dividend yieldNilNil
Average expected life4.414.77
Schedule of Classification of Stock-based Compensation
The following table illustrates the classification of stock-based compensation in the consolidated statements of operations and comprehensive income (loss), which includes both stock-based compensation and restricted share-based compensation expense:
    
Years ended
December 31, 2020December 31, 2019
$$
Cost of revenues
6,4833,572
Sales and marketing
40,68033,917
Research and development
154,11993,549
General and administrative
45,65827,418
246,940158,456