v3.22.0.1

Net Income Per Share | 12 Months Ended
--- | ---
Dec. 31, 2021
Earnings Per Share [Abstract] |
Net Income Per Share | Net Income Per Share Basic net income per share attributable to common stockholders is computed by dividing net income attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period. Diluted net income per share is computed by dividing net income attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period, adjusted for the effects of dilutive shares of common stock, which are comprised of outstanding stock options, RSUs, ESPP obligations, the 2022 Notes and the 2022 and 2018 Warrants. Stock awards with performance or market conditions are included in dilutive shares to the extent all conditions are met. The dilutive potential shares of common stock are computed using the treasury stock method or the as-if converted method, as applicable. The effects of outstanding stock options, RSUs, ESPP obligations, 2022 Notes and 2022 and 2018 Warrants are excluded from the computation of diluted net income per share in periods in which the effect would be antidilutive. 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,
| 2021 |  | 2020 |  | 2019
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 options | 293 |  |  | 547 |  |  | 1,109 |
RSUs | 3,429 |  |  | 4,421 |  |  | 4,897 |
2018 Warrants | — |  |  | — |  |  | 842 |
2022 Notes | 535 |  |  | 842 |  |  | 2,737 |
2022 Notes settlements | 116 |  |  | 1,931 |  |  | — |
2022 Warrants | 649 |  |  | 920 |  |  | 1,172 |
Partial settlement of 2022 Warrants | 51 |  |  | 721 |  |  | — |
Weighted-average shares outstanding - diluted | 203,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 |
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,
| 2021 |  | 2020 |  | 2019
Common stock options | 998 |  |  | — |  |  | 161 |
RSUs | 381 |  |  | 347 |  |  | 413 |
ESPP obligations | 209 |  |  | 224 |  |  | 273 |
Total potentially dilutive securities | 1,588 |  |  | 571 |  |  | 847 |

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://asc.fasb.org/topic&trid=2144383 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration