XML 30 R18.htm IDEA: XBRL DOCUMENT v3.20.2
Net Loss per Share
6 Months Ended
Jun. 30, 2020
Net Loss per Share  
Net Loss per Share

12. Net Loss per Share

Basic net loss per share is computed by dividing the net loss attributable to common stockholders by the weighted-average number of common shares outstanding for the period, excluding shares subject to repurchase and without consideration of potentially dilutive securities. Diluted net loss per share is computed by giving effect to all potentially dilutive common shares outstanding for the period. For purposes of this computation, outstanding common stock options, and restricted stock units are considered to be common share equivalents. Common share equivalents are excluded from the computation in periods in which they have an anti-dilutive effect, unless the consideration of any one of them gives a dilutive effect.

The following table provides the basic and diluted net loss per share computations for the three and six months ended June 30, 2020 and 2019.

Three months ended

Six months ended

June 30, 

June 30, 

(in thousands, except per share data)

    

2020

    

2019

2020

    

2019

 

Numerator:

Net loss, basic and diluted

 

$

(59,637)

 

$

(32,416)

$

(95,009)

 

$

(66,507)

 

Denominator:

Weighted-average number of shares used in computing net loss per share, basic and diluted

79,069

68,224

78,681

65,542

Net loss per share, basic and diluted

$

(0.75)

$

(0.48)

$

(1.21)

$

(1.01)

The following table shows total outstanding potentially dilutive shares excluded from the computation of diluted loss per share as their effect would be anti-dilutive, as of June 30, 2020 and 2019:

June 30, 

     

2020

    

2019

(in thousands)

 

Options to purchase common stock

7,822

 

9,406

Restricted stock units

4,051

2,331

Employee stock purchase plan

51

54

Convertible Notes

7,411

Total

19,335

 

11,791