v3.20.2
Net Income (Loss) Per Share
9 Months Ended
Sep. 30, 2020
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share

13. NET INCOME (LOSS) PER SHARE

The Company’s basic net income (loss) per share is calculated by dividing the net income (loss) by the weighted-average number of shares of common stock outstanding for the period. For the three months ended September 30, 2020, the Company’s diluted net income per share is calculated by dividing the net income by the sum of weighted average number of shares of common stock outstanding for the period and the dilutive effect of common stock equivalents. Dilutive shares of common stock are determined by applying the treasury stock method. For the three months ended September 30, 2019 and the nine months ended September 30, 2020 and 2019, common stock equivalents are excluded from the calculation of diluted net loss per share as their effect is antidilutive. For purposes of the calculation of diluted net income (loss) per share, options to purchase common stock, restricted stock units and unvested shares of common stock issued upon the early exercise of stock options are considered common stock equivalents.

The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share data):

 

 

 

Three Months Ended

 

 

Nine Months Ended

 

 

 

September 30,

2020

 

 

September 30,

2019

 

 

September 30,

2020

 

 

September 30,

2019

 

Numerator:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net income (loss)

 

$

12,947

 

 

$

(25,155

)

 

$

(84,813

)

 

$

(44,220

)

Denominator:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Weighted-average shares used in computing

   net income (loss) per share, basic

 

 

125,687

 

 

 

116,681

 

 

 

122,837

 

 

 

114,064

 

Net income (loss) per share, basic

 

$

0.10

 

 

$

(0.22

)

 

$

(0.69

)

 

$

(0.39

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Weighted-average shares used in computing

   net income (loss) per share, basic

 

 

125,687

 

 

 

116,681

 

 

 

122,837

 

 

 

114,064

 

Common stock equivalents

 

 

10,982

 

 

 

 

 

 

 

 

 

 

Weighted-average shares used in computing

   net income (loss) per share, diluted

 

 

136,669

 

 

 

116,681

 

 

 

122,837

 

 

 

114,064

 

Net income (loss) per share, diluted

 

$

0.09

 

 

$

(0.22

)

 

$

(0.69

)

 

$

(0.39

)

Common shares that would be excluded from the calculation of diluted net loss per share because of their anti-dilutive effect are as follows (in thousands):

 

 

Three Months Ended

 

 

Nine Months Ended

 

 

 

September 30,

2020

 

 

September 30,

2019

 

 

September 30,

2020

 

 

September 30,

2019

 

Restricted stock units and stock options

 

 

688

 

 

 

16,189

 

 

 

14,229

 

 

 

16,189

 

Unvested shares of common stock issued upon early

   exercise of stock options and business acquisition

 

 

 

 

 

45

 

 

 

2

 

 

 

45

 

Total

 

 

688

 

 

 

16,234

 

 

 

14,231

 

 

 

16,234