XML 42 R31.htm IDEA: XBRL DOCUMENT v3.10.0.1
Net Income (loss) per Share Attributable to Common Stock (Tables)
6 Months Ended
Jun. 30, 2018
Earnings Per Share [Abstract]  
Schedule of Basic and Diluted Earnings Per Share
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
)
Summary of Antidilutive Securities Excluded from Computation of Earnings Per Share
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