v3.20.4
Net Loss Per Share Attributable to Common Stockholders - Summary of Calculation of Basic and Diluted Net Loss Per Share (Detail) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Numerator      
Net loss $ (1,166,391) $ (579,646) $ (580,027)
Less: Accretion of Series H redeemable convertible preferred stock to redemption value     (18,098)
Less: Distributed earnings attributable to participating securities   (8,481)  
Net loss attributable to common stockholders (1,166,391) (588,127) (598,125)
Less: Change in fair value attributable to participating securities (5,483)   (38,953)
Net loss attributable to common stockholders, for diluted net loss per share $ (1,171,874) $ (588,127) $ (637,078)
Denominator      
Weighted-average shares used in computing net loss per share, basic 977,721,736 576,958,560 537,280,394
Weighted-average shares used in computing net loss per share, diluted 979,330,067 576,958,560 544,014,393
Net loss per share      
Net loss per share attributable to common stockholders, basic $ (1.19) $ (1.02) $ (1.11)
Net loss per share attributable to common stockholders, diluted $ (1.20) $ (1.02) $ (1.17)