XML 42 R31.htm IDEA: XBRL DOCUMENT v3.10.0.1
Net Income (Loss) per Share Attributable to Common Stock (Tables)
9 Months Ended
Sep. 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 September 30,
 
Nine Months Ended September 30,
 
2018
 
2017
 
2018
 
2017
Numerator:
 
 
 
 
 
 
 
Net income (loss)
$
3,475

 
$
10,558

 
$
(29,756
)
 
$
(13,203
)
Accretion of preferred stock

 
(40,224
)
 

 
(175,915
)
Net income (loss) attributable to common stock - basic and diluted
$
3,475

 
$
(29,666
)
 
$
(29,756
)
 
$
(189,118
)
Denominator:
 
 
 
 
 
 
 
Weighted average shares:
 
 
 
 
 
 
 
Basic
87,743,223

 
58,868,903

 
84,327,266

 
29,678,082

Dilutive shares from stock plans
6,899,240

 

 

 

Diluted
94,642,463

 
58,868,903

 
84,327,266

 
29,678,082

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

 
$
(0.50
)
 
$
(0.35
)
 
$
(6.37
)
Net income (loss) per share attributable to common stock - diluted
$
0.04

 
$
(0.50
)
 
$
(0.35
)
 
$
(6.37
)
Summary of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following outstanding shares of common stock equivalents as of September 30, 2018 and 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 September 30,
 
Nine Months Ended September 30,
 
2018
 
2017
 
2018
 
2017
Redeemable convertible preferred stock

 
55,422,002

 

 
55,422,002

Options to purchase common stock

 
13,298,339

 
10,150,522

 
13,298,339

Restricted stock units
238,668

 

 
2,081,173

 

Total
238,668

 
68,720,341

 
12,231,695

 
68,720,341