XML 43 R31.htm IDEA: XBRL DOCUMENT v2.4.1.9
Earnings per share (Tables)
12 Months Ended
Dec. 31, 2014
Earnings per share  
Schedule of computation of basic and diluted net loss per share for common stockholders

 

                                                                                                                                                                                    

 

 

Year ended December 31

 

 

 

2014

 

2013

 

2012

 

Numerator

 

 

 

 

 

 

 

 

 

 

Net (loss) income

 

$

(93,753

)

$

(51,574

)

$

(26,235

)

Deemed dividend

 

 

 

 

(18,249

)

 

 

Gain on exchange of convertible preferred stock in connection with recapitalization

 

 

 

 

3,391

 

 

159,954

 

Less beneficial conversion charge

 

 

 

 

 

 

(378

)

Less net income attributable to participating preferred stock

 

 

 

 

 

 

(132,610

)

​  

​  

​  

​  

​  

​  

Net (loss) income attributable to common stockholders

 

$

(93,753

)

$

(66,432

)

$

731

 

​  

​  

​  

​  

​  

​  

Denominator

 

 

 

 

 

 

 

 

 

 

Denominator for basic earnings per share

 

 

31,565,310

 

 

12,829,411

 

 

3,328

 

Effect of dilutive securities:

 

 

 

 

 

 

 

 

 

 

Employee stock options

 

 

 

 

 

 

 

Series 3 convertible preferred stock

 

 

 

 

 

 

13,877

 

​  

​  

​  

​  

​  

​  

Denominator for diluted earnings per share

 

 

31,565,310

 

 

12,829,411

 

 

17,205

 

​  

​  

​  

​  

​  

​  

Net (loss) income per share:

 

 

 

 

 

 

 

 

 

 

Basic

 

$

(2.97

)

$

(5.18

)

$

219.76

 

​  

​  

​  

​  

​  

​  

Diluted

 

$

(2.97

)

$

(5.18

)

$

42.50

 

​  

​  

​  

​  

​  

​