XML 31 R17.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net (Loss) Income Per Share
12 Months Ended
Dec. 31, 2021
Net (Loss) Income Per Share [Abstract]  
Net Income (Loss) Per Share NOTE 11. NET (LOSS) INCOME PER SHAREBasic net (loss) income per share and diluted net (loss) income per share are presented for the three years presented. Basic net (loss) income per share is computed by dividing net (loss) income by the weighted average number of shares of common stock outstanding during the period. Diluted net (loss) income per share is computed using the weighted average number of shares of common stock outstanding and potential shares assuming the dilutive effect of outstanding stock options, restricted stock units and common stock issuable pursuant to our ESPP, using the treasury stock method. The following table presents the calculation of weighted average shares of common stock used in the computations of basic and diluted net (loss) income per share amounts presented in the accompanying consolidated statements of operations and comprehensive (loss) income (in thousands, except per share amounts): Years Ended December 31, 2021 2020 2019Numerator: Net (loss) income$ (181,223) $ 29,403 $ (84,134) Denominator: Basic Weighted average shares used in computing basic net income (loss) per share 204,136 165,187 152,527Basic net (loss) income per share$ (0.89) $ 0.18 $ (0.55)Diluted Weighted average shares used in computing basic net (loss) income per share 204,136 165,187 152,527Add: weighted average stock options — 6,092 —Add: weighted average restricted stock units — 2,324 —Add: weighted average common stock issuable pursuant to our ESPP — 1,367 —Weighted average shares used in computing diluted net (loss) income per share 204,136 174,970 152,527Diluted net (loss) income per share$ (0.89) $ 0.17 $ (0.55)The following shares issuable upon conversion of convertible senior notes, options outstanding, time-based RSUs, performance-based RSUs and ESPP shares to purchase common stock were excluded from the computation of diluted net loss per share for the periods presented because the effect of including such shares would have been antidilutive: Years Ended December 31,(in thousands)2021 2020 2019Shares issuable upon conversion of convertible senior notes 18,026 — —Options to purchase common stock 12,463 4,908 22,697RSUs with time-based vesting 7,392 100 1,086RSUs with performance-based vesting — 94 138ESPP shares 1,564 2,890 —