XML 44 R26.htm IDEA: XBRL DOCUMENT
v3.22.4

Net (Loss) Income Per Share Attributable to Common Stockholders | 12 Months Ended
--- | ---
Dec. 31, 2022
Earnings Per Share [Abstract] |
Net (Loss) Income Per Share Attributable to Common Stockholders | Net (Loss) Income Per Share Attributable to Common Stockholders The following table shows the computation of basic and diluted net (loss) income per share attributable to common stockholders (in thousands, except per share amounts):
| Year Ended December 31,
| 2022 |  | 2021 |  | 2020
Numerator: |  |  |  |  |
Net (loss) income | $ | (48,733) |  |  | $ | (108,664) |  |  | $ | 9,896 |
Less: amounts attributable to redeemable convertible preferred stock | — |  |  | — |  |  | (2,673) |
Net (loss) income attributable to common stockholders—basic | (48,733) |  |  | (108,664) |  |  | 7,223 |
Add: undistributed earnings reallocated to common stockholders | — |  |  | — |  |  | 39 |
Net (loss) income attributable to common stockholders—diluted | $ | (48,733) |  |  | $ | (108,664) |  |  | $ | 7,262 |
Denominator: |  |  |  |  |
Weighted-average common stock used in computing net (loss) income per share attributable to common stockholders—basic | 195,829 |  |  | 161,424 |  |  | 124,709 |
Effect of potentially dilutive securities: |  |  |  |  |
Stock options | — |  |  | — |  |  | 2,444 |
Restricted stock units | — |  |  | — |  |  | 106 |
Weighted-average common stock used in computing net (loss) income per share attributable to common stockholders—diluted | 195,829 |  |  | 161,424 |  |  | 127,259 |
Net (loss) income per share attributable to common stockholders—basic and diluted | $ | (0.25) |  |  | $ | (0.67) |  |  | $ | 0.06 |
The following table presents the number of options, RSUs, PSUs and restricted stock excluded from the calculation of diluted net (loss) income per share attributable to common stockholders because they are anti-dilutive (in thousands):
| As of December 31,
| 2022 |  | 2021 |  | 2020
Options to purchase common stock | 17,155 |  |  | 15,274 |  |  | 12,529 |
RSUs and PSUs | 8,879 |  |  | 3,577 |  |  | 2,235 |
ESPP | 140 |  |  | 96 |  |  | — |
Restricted stock | — |  |  | 50 |  |  | 100 |
Total | 26,174 |  |  | 18,997 |  |  | 14,864 |

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 https://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 https://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 https://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 https://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