XML 76 R23.htm IDEA: XBRL DOCUMENT v2.4.0.8
Income (loss) per share (Tables)
12 Months Ended
Dec. 31, 2013
Earnings Per Share [Abstract]  
Schedule of the computation of basic and diluted net income (loss) per share
The following table presents the calculation of basic and diluted net income (loss) per share:
  
 
Years ended December 31,
(in thousands, except for share and per share amounts)
 
2013
 
2012
 
2011
Numerator:
 
 
 
 
 
 
Net (loss) income
 
$
(10,465
)
 
$
2,893

 
$
(2,479
)
Less: undistributed earnings attributable to participating securities
 

 
(1,366
)
 

Net (loss) income attributable to common stockholders
 
$
(10,465
)
 
$
1,527

 
$
(2,479
)
Reallocation of undistributed earnings attributable to participating securities
 

 
32

 

Net (loss) income attributable to common stockholders for diluted net (loss) income per share
 
$
(10,465
)
 
$
1,559

 
$
(2,479
)
 
 
 
 
 
 
 
Denominator:
 
 
 
 
 
 
Weighted-average shares used to compute basic net income (loss) per common share
 
24,621

 
17,979

 
3,370

Effect of potentially dilutive securities:
 
 
 
 
 
 
Employee stock options and restricted stock units
 

 
2,547

 

Stock warrants
 

 
82

 

Weighted average shares used to compute diluted income (loss) per common share
 
24,621

 
20,608

 
3,370

Net (loss) income per share
 
 
 
 
 
 
   Net (loss) income per common share - basic and diluted
 
$(0.43)
 
$0.08
 
$(0.74)
Schedule of antidilutive securities excluded from computation of earnings per share
For the years ended 2013, 2012 and 2011, the following securities were not included in the calculation of diluted shares outstanding as the effect would have been anti-dilutive:
  
 
As of December 31,
(in thousands)
 
2013
 
2012
 
2011
Convertible preferred stock (on an as if converted basis)
 

 

 
12,916

Options to purchase common stock
 
3,335

 
367

 
3,808

Common stock subject to repurchase
 
25

 

 
169

Warrants to purchase convertible preferred stock
 

 

 
213

Warrants to purchase common stock
 
44

 

 

Restricted stock units
 
623

 
25

 

Restricted stock awards
 
12