v3.22.0.1
Net Loss Per Share Attributable to Common Stockholders - Summary of Calculation of Basic and Diluted Net Loss Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Numerator      
Net loss $ (520,379) $ (1,166,391) $ (579,646)
Less: Distributed earnings attributable to participating securities     (8,481)
Net loss attributable to common stockholders (520,379) (1,166,391) (588,127)
Less: Change in fair value attributable to participating securities   (5,483)  
Net loss attributable to common stockholders, for diluted net loss per share $ (520,379) $ (1,171,874) $ (588,127)
Denominator      
Weighted-average shares used in computing net loss per share, basic 1,923,617 977,722 576,959
Weighted-average shares used in computing net loss per share, diluted 1,923,617 979,330 576,959
Net loss per share      
Net loss per share attributable to common stockholders, basic $ (0.27) $ (1.19) $ (1.02)
Net loss per share attributable to common stockholders, diluted $ (0.27) $ (1.20) $ (1.02)