v3.22.0.1
Net Loss per Share
12 Months Ended
Dec. 31, 2021
Earnings Per Share [Abstract]  
Net Loss per Share Net Loss per Share
The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders for the periods indicated (in thousands, except per share amounts):

Year Ended December 31,
201920202021
Net loss attributable to Class A and Class B common stockholders$(674,339)$(4,584,716)$(352,034)
Weighted-average shares in computing net loss per share attributable to Class A and Class B common stockholders, basic and diluted260,556 284,363 615,891 
Net loss per share attributable to Class A and Class B common stockholders, basic and diluted$(2.59)$(16.12)$(0.57)

The rights, including the liquidation and dividend rights, of the holders of Class A and Class B common stock are identical, except with respect to voting and conversion. Each share of Class A common stock is entitled to one vote per share and each share of Class B common stock is entitled to 20 votes per share. Each share of Class B common stock is convertible into a share of Class A common stock voluntarily at any time by the holder, and automatically upon certain events. The Class A common stock has no conversion rights. As the liquidation and dividend rights are identical for Class A and Class B common stock, the undistributed earnings are allocated on a proportional basis and the resulting net loss per share attributable to common stockholders will, therefore, be the same for both Class A and Class B common stock on an individual or combined basis.

There were no preferred dividends declared or accumulated for the years ended December 31, 2019, 2020, and 2021. As of December 31, 2019, RSUs to be settled in 70.2 million shares of Class B common stock and 0.6 million shares of restricted stock awards were excluded from the table below because they are subject to performance conditions that were not achieved as of such date. As of December 31, 2020, RSUs to be settled in 12.0 million shares of Class A common stock were excluded from the table below because they are subject to market conditions that were not achieved as of such date. As of December 31, 2020, 0.5 million shares of restricted stock awards were excluded from the table below because they are subject to performance conditions that were not achieved as of such date. As of December 31, 2021, RSUs to be settled in 9.6 million shares of Class A common stock were excluded from the table below because they are subject to market conditions that were not achieved as of such date. As of December 31, 2021, 0.5 million shares of restricted stock awards were excluded from the table below because they are subject to performance conditions that were not achieved as of such date. The 2026 Notes issued in
March 2021 are deemed to be anti-dilutive under the if-converted method for the year ended December 31, 2021. Refer to Note 10, Debt, for further information on the 2026 Notes.

Additionally, the following securities were not included in the computation of diluted shares outstanding because the effect would be anti-dilutive (in thousands):

Year Ended December 31,
201920202021
2026 Notes(1)
— — 11,086 
Warrants— 7,935 7,935 
Escrow shares644 644 74 
Stock options46,512 41,421 24,122 
Restricted stock awards354 212 127 
Restricted stock units5,931 35,738 26,041 
Employee stock purchase plan— 561 365 
Redeemable convertible preferred stock240,911 — — 
Total294,352 86,511 69,750 
(1)Holders of the 2026 Notes who convert their 2026 Notes in connection with certain corporate events that constitute a make-whole fundamental change are entitled to an increase in the conversion rate. The 11.1 million shares represents the maximum number of shares that can be issued upon conversion after considering the make-whole fundamental change adjustment on an unweighted basis.