XML 75 R30.htm IDEA: XBRL DOCUMENT v3.21.2
Basic and Diluted Earnings Per Share (Tables)
9 Months Ended
Sep. 30, 2021
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share
The computation of earnings per share for the three and nine months ended September 30, 2021 and 2020 is as follows (in thousands, except per share amounts):
Three Months Ended September 30,Nine Months Ended September 30,
2021202020212020
Numerator:
Net (loss) income$(39,675)$9,412 $(87,893)$475 
Less: amounts attributable to redeemable convertible preferred stock— (2,541)— (128)
Net income attributable to common stockholders—basic(39,675)6,871 (87,893)347 
Add: undistributed earnings reallocated to common stockholders— 35 — 
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—basic196,351 124,846 149,207 124,647 
Effect of potentially dilutive securities:
Stock options— 2,306 — 2,565 
Restricted stock units— 86 — 127 
Weighted-average common stock used in computing net (loss) income per share attributable to common stockholders—diluted196,351 127,238 149,207 127,339 
Net (loss) income per share attributable to common stockholders—basic$(0.20)$0.06 $(0.59)$— 
Net (loss) income per share attributable to common stockholders—diluted$(0.20)$0.05 $(0.59)$— 
Summary of Number of Options, Restricted Stock Units
The following table presents the number of options, RSUs, ESPPs and restricted stock excluded from the calculation of diluted net (loss) income per share attributable to common stockholders because they are anti-dilutive (in thousands):
Three Months Ended September 30,Nine Months Ended September 30,
2021202020212020
Options to purchase common stock15,572 10,799 15,572 10,799 
Restricted stock units3,614 934 3,614 934 
Employee Stock Purchase Plan 53 — 53 — 
Restricted stock50 100 50 100 
Total19,289 11,833 19,289 — 11,833