Net income per share attributable to common stockholders | 3 Months Ended |
Apr. 30, 2015 |
Earnings Per Share [Abstract] | |
Net income per share attributable to common stockholders | The Company computed net income per share of common stock in conformity with the two-class method required for participating securities for the three months ended April 30, 2014. Prior to their conversion to common stock, the Company considered its series D-3 redeemable convertible preferred stock to be participating securities as the holders of the preferred stock were entitled to receive a dividend in the event that a dividend was paid on common stock. The following table sets forth the computation of basic and diluted net income per share attributable to common stockholders: |
|
| | | | | | | | |
(in thousands, except per share data) | | Three months ended April 30, | |
|
| 2015 | | | 2014 | |
|
Numerator (basic and diluted): | | | | |
|
Net income | | $ | 4,977 | | | $ | 2,718 | |
|
Add back: accretion of redeemable convertible preferred stock | | — | | | 4,021 | |
|
Less: dividend on redeemable convertible preferred stock and dividend on convertible preferred stock | | — | | | (632 | ) |
|
Less: undistributed income attributed to redeemable convertible preferred stockholders | | — | | | (2,258 | ) |
|
Net income attributable to common stockholders for basic earnings per share | | $ | 4,977 | | | $ | 3,849 | |
|
Add back: dividend of redeemable convertible preferred stock | | — | | | 632 | |
|
Less: accretion on redeemable convertible preferred stock and dividend on convertible preferred stock | | — | | | (4,021 | ) |
|
Add back: series D-3 derivative liability revaluations | | — | | | 735 | |
|
Add back: adjustment to undistributed income attributed to redeemable convertible preferred stockholders | | — | | | 2,258 | |
|
Net income attributable to common stockholders for diluted earnings per share | | $ | 4,977 | | | $ | 3,453 | |
|
| | | | |
|
Denominator (basic): | | | | |
|
Weighted-average common shares outstanding | | 55,063 | | | 7,367 | |
|
Denominator (diluted): | | | | |
|
Weighted-average common shares outstanding | | 55,063 | | | 7,367 | |
|
Effect of potential dilutive securities: | | | | |
|
Weighted-average dilutive effect of stock options | | 2,707 | | | 1,782 | |
|
Weighted-average dilutive effect of common shares from stock warrants | | — | | | 2,119 | |
|
Dilutive effect from preferred stock assuming conversion | | — | | | 32,468 | |
|
Weighted-average common shares outstanding | | 57,770 | | | 43,736 | |
|
Net income per share attributable to common stockholders: | | | | |
|
Basic | | $ | 0.09 | | | $ | 0.52 | |
|
Diluted | | $ | 0.09 | | | $ | 0.08 | |
|
|
For the three months ended April 30, 2015 and 2014, approximately 679,000 and 145,000 shares, respectively, attributable to stock options were excluded from the calculation of diluted earnings per share as their inclusion would have been anti-dilutive. |