XML 44 R27.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Income (Loss) per Share Attributable to Common Stock (Tables)
12 Months Ended
Dec. 31, 2017
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:

 
Year End December 31,
 
2015
 
2016
 
2017
 
 
 
 
 
 
Numerator:
 
 
 
 
 
Net income (loss)
$
(30,236
)
 
$
(22,526
)
 
$
(15,002
)
Accretion of preferred stock
(102,224
)
 
(55,502
)
 
(175,915
)
Net income (loss) attributable to common stock—basic and diluted
$
(132,460
)
 
$
(78,028
)
 
$
(190,917
)
 
 
 
 
 
 
Denominator:
 
 
 
 
 
Weighted average shares used to compute net income (loss) per share attributable to common stock—basic and diluted
13,416,411

 
14,395,067

 
42,722,114

Net income (loss) per share attributable to common stock—basic and diluted
$
(9.87
)
 
$
(5.42
)
 
$
(4.47
)
Summary of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following outstanding shares of common stock equivalents 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. For the year ended December 31, 2017 shares of the redeemable convertible preferred stock were anti-dilutive, but converted to common stock on a one-for-one basis on August 2, 2017 upon the successful completion of the IPO, and as such were included in the weighted average shares outstanding for the period they were outstanding as shares of common stock.

 
Year End December 31,
 
2015
 
2016
 
2017
 
 
 
 
 
 
Redeemable convertible preferred stock
55,422,002
 
55,422,002
 

Options outstanding
10,406,277
 
13,291,684
 
13,180,950

Restricted stock units

 

 
981,276

Total
65,828,279
 
68,713,686
 
14,162,226