| Schedule of basic and diluted net income per share |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
Three Months Ended, June 30, |
|
|
Six Months Ended, June 30, |
|
| |
|
2011 |
|
|
2012 |
|
|
2011 |
|
|
2012 |
|
|
Net income
|
|
$ |
592 |
|
|
$ |
1,199 |
|
|
$ |
703 |
|
|
$ |
2,373 |
|
|
Less: undistributed earnings allocated to preferred stockholders
|
|
|
(541 |
) |
|
|
— |
|
|
|
(642 |
) |
|
|
— |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income attributable to common stockholders
|
|
$ |
51 |
|
|
$ |
1,199 |
|
|
$ |
61 |
|
|
$ |
2,373 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted-average common shares used to compute net income per share attributable to common stockholders
|
|
|
1,974,991 |
|
|
|
27,212,105 |
|
|
|
1,952,574 |
|
|
|
21,907,842 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic net income per share attributable to common stockholders
|
|
$ |
0.03 |
|
|
$ |
0.04 |
|
|
$ |
0.03 |
|
|
$ |
0.11 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Diluted net income per share attributable to common stockholders:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income
|
|
$ |
51 |
|
|
$ |
1,199 |
|
|
$ |
61 |
|
|
$ |
2,373 |
|
|
Add: Undistributed earnings allocated to preferred stockholders
|
|
|
541 |
|
|
|
— |
|
|
|
642 |
|
|
|
— |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income attributable to common stockholders
|
|
$ |
592 |
|
|
$ |
1,199 |
|
|
$ |
703 |
|
|
$ |
2,373 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of shares used in basic calculation
|
|
|
1,974,991 |
|
|
|
27,212,105 |
|
|
|
1,952,574 |
|
|
|
21,907,842 |
|
|
Weighted-average effect of dilutive securities
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conversion of preferred stock (as-if converted basis)
|
|
|
17,395,136 |
|
|
|
— |
|
|
|
17,395,136 |
|
|
|
3,918,684 |
|
|
Stock options
|
|
|
3,083,681 |
|
|
|
2,380,003 |
|
|
|
3,040,112 |
|
|
|
2,435,356 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of shares used in diluted calculation
|
|
|
22,453,808 |
|
|
|
29,592,108 |
|
|
|
22,387,822 |
|
|
|
28,261,882 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Diluted net income per share attributable to common stockholders
|
|
$ |
0.03 |
|
|
$ |
0.04 |
|
|
$ |
0.03 |
|
|
$ |
0.08 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|