v3.22.0.1
Net Income Per Share (Tables)
12 Months Ended
Dec. 31, 2021
Earnings Per Share [Abstract]  
Calculation of Basic and Diluted Net Income Per Share
The following tables present the calculation of basic and diluted net income per share attributable to common stockholders (in thousands, except per share data):
 Year Ended December 31,
 202120202019
Numerator:
Net income$230,141 $118,503 $626,698 
Denominator:
Weighted-average shares outstanding - basic
198,094 193,096 186,466 
Weighted-average effect of potentially dilutive securities:
Common stock options293 547 1,109 
RSUs3,429 4,421 4,897 
2018 Warrants— — 842 
2022 Notes535 842 2,737 
2022 Notes settlements116 1,931 — 
2022 Warrants649 920 1,172 
Partial settlement of 2022 Warrants51 721 — 
Weighted-average shares outstanding - diluted203,167 202,478 197,223 
Net income per share - basic$1.16 $0.61 $3.36 
Net income per share - diluted$1.13 $0.59 $3.18 
Summary of Potentially Dilutive Securities
Potentially dilutive securities that are not included in the calculation of diluted net income per share because doing so would be antidilutive are as follows (in thousands):
 Year Ended December 31,
 202120202019
Common stock options998 — 161 
RSUs381 347 413 
ESPP obligations209 224 273 
Total potentially dilutive securities1,588 571 847