Net Income Per Share (Tables)
3 Months Ended
Mar. 31, 2015
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share Basic and Diluted
The following table sets forth the computation of the Company’s basic and diluted net income (loss) per share attributable to common stock for the periods presented (in thousands, except per share data):
 
 
Three Months Ended March 31,
 
2015
 
2014
 
(unaudited)
 
(unaudited)
BASIC:
 
 
 
Net income (loss)
$
12,786

 
$
(22,354
)
Less: net income allocated to participating securities

 

Net income (loss) attributable to common shareholders
$
12,786

 
$
(22,354
)
Weighted-average common shares outstanding
43,184

 
702

Basic net income (loss) per share
$
0.30

 
$
(31.86
)
DILUTED:
 
 
 
Net income (loss)
$
12,786

 
$
(22,354
)
Less: net income allocated to participating securities

 

Net income (loss) attributable to common shareholders
$
12,786

 
$
(22,354
)
Weighted-average common shares outstanding-basic
43,184

 
702

Effect of dilutive potential common shares
1,434

 

Weighted-average common shares outstanding-diluted
44,618

 
702

Diluted net income (loss) per share
$
0.29

 
$
(31.86
)
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following warrants and director and employee stock awards were excluded from the calculation of diluted net loss per share attributable to common stockholders because their effect would have been anti-dilutive for the periods presented (share data, in thousands):
 
Three Months Ended March 31,
 
2015
 
2014
 
(unaudited)
 
(unaudited)
Warrants to purchase common stock

 
42,243

Stock option awards
17