XML 97 R79.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net Income (Loss) Per Share - Summary of Basic and Diluted Net Income (Loss) Per Share Attributable to Common Stockholders (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Numerator:      
Net income (loss) $ 35,446 $ (125,187) $ 119,040
Income attributable to convertible preferred stock (3,209) 0 (39,500)
Income attributable to options exercises by promissory notes (387) 0 (1,088)
Income attributable to unvested early exercised options (95) 0 (39)
Income attributable to unvested RSA's (52) 0 (2,037)
Net income (loss) attributable to common stock $ 31,703 $ (125,187) $ 76,376
Denominator:      
Weighted-average shares used in computing net income (loss) per share: Basic (in shares) 324,836,076 214,936,545 210,937,147
Net income (loss) per share attributable to common stock: Basic (in dollars per share) $ 0.10 $ (0.58) $ 0.36
Numerator:      
Net income (loss) $ 35,446 $ (125,187) $ 119,040
Income attributable to convertible preferred stock (3,058) 0 (39,329)
Income attributable to options exercises by promissory notes (369) 0 (1,083)
Income attributable to unvested early exercised options (91) 0 (39)
Income attributable to unvested RSA's (49) 0 (2,028)
Net income (loss) attributable to common stock $ 31,879 $ (125,187) $ 76,561
Denominator:      
Weighted-average shares used in computing net income (loss) per share: Basic (in shares) 324,836,076 214,936,545 210,937,147
Weighted-average dilutive stock options, RSUs, and convertible security (in shares) 17,927,556 0 1,428,282
Weighted-average shares used in computing net income (loss) per share: Diluted (in shares) 342,763,632 214,936,545 212,365,429
Net income (loss) per share attributable to common stock: Diluted (in dollars per share) $ 0.09 $ (0.58) $ 0.36