XML 45 R28.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net (Loss) Income Per Share
12 Months Ended
Dec. 31, 2021
Earnings Per Share [Abstract]  
Net (Loss) Income Per Share Net (Loss) Income Per Share Basic net (loss) income per share is computed by dividing net (loss) income attributable to common stockholders by the weighted-average number of common shares outstanding during the period. Diluted net income per share is computed by dividing net income attributable to common stockholders by the weighted-average number of common shares outstanding during the period adjusted to include the effect of potentially dilutive securities. Potentially dilutive securities are excluded from the computation of dilutive EPS in periods in which the effect would be antidilutive.
The computation of the Company’s basic and diluted net (loss) income per share is as follows (in thousands, except per share amounts):
Years Ended December 31,
202120202019
Numerator:
Net (loss) income attributable to common stockholders$(79,423)$(173,394)$26,335 
Denominator:
Weighted average shares used to compute net (loss) income per share attributable to common stockholders, basic205,132 139,606 116,397 
Weighted average effect of potentially dilutive shares to purchase common stock
— — 7,479 
Weighted average shares used to compute net (loss) income per share attributable to common stockholders, diluted205,132 139,606 123,876 
Net (loss) income per share attributable to common stockholders
Basic
$(0.39)$(1.24)$0.23 
Diluted
$(0.39)$(1.24)$0.21 
The following shares were excluded from the computation of diluted net income per share as the impact of including those shares would be anti-dilutive (in thousands):
Year Ended December 31,
202120202019
Outstanding stock options
799 1,286 1,486 
Unvested restricted stock units
1,448 1,493 673 
Capped Calls for Senior Convertible Notes3,128 — — 
Total
5,375 2,779 2,159