XML 100 R55.htm IDEA: XBRL DOCUMENT v3.21.2
Basic and Diluted Earnings Per Share - Earnings Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Sep. 30, 2021
Sep. 30, 2020
Numerator:                
Net (loss) income $ (39,675) $ (38,395) $ (9,823) $ 9,412 $ (4,059) $ (4,878) $ (87,893) $ 475
Less: amounts attributable to redeemable convertible preferred stock 0     (2,541)     0 (128)
Net income attributable to common stockholders—basic (39,675)     6,871     (87,893) 347
Add: undistributed earnings reallocated to common stockholders 0     35     0 2
Net (loss) income attributable to common stockholders—diluted $ (39,675)     $ 6,906     $ (87,893) $ 349
Denominator:                
Weighted-average common stock used in computing net (loss) income per share attributable to common stockholders—basic (in shares) 196,351     124,846     149,207 124,647
Weighted-average common stock used in computing net (loss) income per share attributable to common stockholders—diluted (in shares) 196,351     127,238     149,207 127,339
Net (loss) income per attributable to common stockholders - basic (in dollars per share) $ (0.20)     $ 0.06     $ (0.59) $ 0
Net (loss) income per attributable to common stockholders - diluted (in dollars per share) $ (0.20)     $ 0.05     $ (0.59) $ 0
Options to purchase common stock                
Denominator:                
Effect of potential dilutive securities (in shares) 0     2,306     0 2,565
Restricted stock units                
Denominator:                
Effect of potential dilutive securities (in shares) 0     86     0 127