XML 45 R31.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net Loss Per Share Attributable to Common Stockholders (Tables)
12 Months Ended
Dec. 31, 2021
Earnings Per Share [Abstract]  
Summary of Calculation of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders
The following table presents the calculation of basic and diluted net loss per share attributable to common stockholders (in thousands, except share and per share amounts):
 Years Ended December 31,
 201920202021
Numerator:
Net loss
$(84,840)$(177,870)$(732,673)
Less: Accretion of redeemable convertible preferred stock
(201)(20,959)(4,135)
Less: Deemed dividend on exchange of Series A-2 redeemable
      convertible preferred stock for Class A common stock
(60,000)— — 
Net loss attributable to common stockholders, basic and diluted
$(145,041)$(198,829)$(736,808)
Denominator:
Weighted-average shares used in computing net loss per share,
      basic and diluted
$58,700,441 $58,929,271 $169,080,392 
Net loss per share:
Net loss per share attributable to common stockholders, basic and
      diluted
$(2.47)$(3.37)$(4.36)
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following outstanding potentially dilutive ordinary share equivalents have been excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented due to their antidilutive effect:
 Years Ended December 31,
 201920202021
Redeemable convertible preferred stock
74,939,388102,074,703
Options to purchase common stock
7,571,03113,295,4977,684,778
RSUs subject to future vesting
1,100,0005,949,798
SVAs subject to future vesting
3,653,146315,559
Redeemable convertible preferred stock warrants
16,459,024
Early exercised options subject to future vesting40,000
Common stock contingently issuable under ESPP31,514
Total
82,510,419136,582,37014,021,649