| Earnings Per Common Share |
The calculation of basic and diluted EPS was as follows: | | | | | | | | | | | | | | | | | | Three Months Ended June 30, | | Six Months Ended June 30, | | 2015 | | 2014 | | 2015 | | 2014 | | (In thousands, except per share data) | Basic earnings per Class A common share | | | | | | | | Net income | $ | 3,496 |
| | $ | 14,343 |
| | $ | 44,309 |
| | $ | 29,648 |
| Income attributable to preferred stock | (99 | ) | | (1,703 | ) | | (1,263 | ) | | (3,966 | ) | Income attributable to common stock subject to repurchase | (1 | ) | | (138 | ) | | (48 | ) | | (324 | ) | Net income allocated to Class A common stockholders | $ | 3,396 |
| | $ | 12,502 |
| | $ | 42,998 |
| | $ | 25,358 |
| Weighted-average Class A shares issued and outstanding | 51,811 |
| | 39,394 |
| | 51,631 |
| | 38,433 |
| Basic earnings per Class A common share | $ | 0.07 |
| | $ | 0.32 |
| | $ | 0.83 |
| | $ | 0.66 |
| | | | | | | | | Diluted earnings per Class A common share | | | | | | | | Net income allocated to Class A common stockholders | $ | 3,396 |
| | $ | 12,502 |
| | $ | 42,998 |
| | $ | 25,358 |
| Re-allocated earnings | 1 |
| | 26 |
| | 12 |
| | 96 |
| Diluted net income allocated to Class A common stockholders | 3,397 |
| | 12,528 |
| | 43,010 |
| | 25,454 |
| Weighted-average Class A shares issued and outstanding | 51,811 |
| | 39,394 |
| | 51,631 |
| | 38,433 |
| Dilutive potential common shares: | | | | | | | | Stock options | 272 |
| | 515 |
| | 276 |
| | 831 |
| Restricted stock units | 185 |
| | 138 |
| | 189 |
| | 195 |
| Employee stock purchase plan | 7 |
| | 5 |
| | 8 |
| | 7 |
| Diluted weighted-average Class A shares issued and outstanding | 52,275 |
| | 40,052 |
| | 52,104 |
| | 39,466 |
| Diluted earnings per Class A common share | $ | 0.06 |
| | $ | 0.31 |
| | $ | 0.83 |
| | $ | 0.64 |
|
|
| Antidilutive Shares |
The following table shows the weighted-average number of anti-dilutive shares excluded from the diluted EPS calculation: | | | | | | | | | | | | | | Three Months Ended June 30, | | Six Months Ended June 30, | | 2015 | | 2014 | | 2015 | | 2014 | | (In thousands) | Class A common stock | | | | | | | | Options to purchase Class A common stock | 794 |
| | 673 |
| | 789 |
| | 608 |
| Restricted stock units | 85 |
| | 57 |
| | 96 |
| | 35 |
| Conversion of convertible preferred stock | 1,518 |
| | 5,369 |
| | 1,516 |
| | 6,011 |
| Total options, restricted stock units and convertible preferred stock | 2,397 |
| | 6,099 |
| | 2,401 |
| | 6,654 |
|
|