XML 26 R15.htm IDEA: XBRL DOCUMENT v3.10.0.1
Net Income (loss) per Share Attributable to Common Stock
6 Months Ended
Jun. 30, 2018
Earnings Per Share [Abstract]  
Net Income (loss) per Share Attributable to Common Stock
Net Income (loss) per Share Attributable to Common Stock

Net income (loss) per share attributable to common stock is computed by dividing the net income (loss) attributable to common stock by the weighted-average number of common shares outstanding. The Company has outstanding stock options, restricted stock units, employee stock purchase plan shares, and previously had redeemable convertible preferred stock, which are included in the calculation of diluted net income (loss) attributable to common stock per share whenever doing so would be dilutive.

The Company calculates basic and diluted net income (loss) per share attributable to common stock in conformity with the two-class method required for companies with participating securities. The Company considers all series of redeemable convertible preferred stock to be participating securities. Under the two-class method, net income (loss) attributable to common stock is not allocated to the redeemable convertible preferred stock as the holders of redeemable convertible preferred stock do not have a contractual obligation to share in losses. Upon the conversion of the redeemable convertible preferred stock to common stock on the date of the IPO, or August 2, 2017, the Company only had one class of participating security, common stock. Diluted net income (loss) per share attributable to common stock is computed by giving effect to all potential dilutive common stock equivalents outstanding for the period.

The following table sets forth the calculation of basic and diluted net income (loss) per share attributable to common stock during the periods presented:
 
Three Months Ended June 30,
 
Six Months Ended June 30,
 
2018
 
2017
 
2018
 
2017
 
 
 
 
 
 
 
 
Numerator:
 
 
 
 
 
 
 
Net income (loss)
$
3,207

 
$
4,304

 
$
(33,232
)
 
$
(23,762
)
Accretion of preferred stock

 
(110,921
)
 

 
(135,690
)
Net income (loss) attributable to common stock - basic and diluted
$
3,207

 
$
(106,617
)
 
$
(33,232
)
 
$
(159,452
)
Denominator:
 
 
 
 
 
 
 
Weighted average shares:
 
 
 
 
 
 
 
   Basic
83,164,670

 
14,913,234

 
82,590,979

 
14,840,759

        DIlutive shares from stock plans
7,578,508

 

 

 

   Diluted
90,743,178

 
14,913,234

 
82,590,979

 
14,840,759

Net income (loss) per share:
 
 
 
 
 
 
 
Net income (loss) per share attributable to common stock - basic
$
0.04

 
$
(7.15
)
 
$
(0.40
)
 
$
(10.74
)
Net income (loss) per share attributable to common stock - diluted
$
0.04

 
$
(7.15
)
 
$
(0.40
)
 
$
(10.74
)


The following outstanding shares of common stock equivalents as of June 30, 2018 and June 30, 2017 were excluded from the computation of the diluted net income (loss) per share attributable to common stock for the periods presented because their effect would have been anti-dilutive:
 
Three Months Ended June 30,
 
Six Months Ended June 30,
 
2018
 
2017
 
2018
 
2017
 
 
 
 
 
 
 
 
Redeemable convertible preferred stock

 
55,422,002

 

 
55,422,002

Options to purchase common stock

 
13,782,401

 
10,775,812

 
13,782,401

Restricted stock units
179,712

 

 
2,010,186

 

Total
179,712

 
69,204,403

 
12,785,998

 
69,204,403