CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($)
shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2015
Sep. 30, 2014
Sep. 30, 2015
Sep. 30, 2014
CONSOLIDATED STATEMENTS OF OPERATIONS        
Revenue $ 43,558 $ 39,120 $ 120,282 $ 107,636
Cost of revenue 21,748 18,847 60,532 52,160
Gross margin 21,810 20,273 59,750 55,476
Operating expenses:        
Research and development 8,191 6,647 24,308 20,519
Sales and marketing 8,489 6,876 23,668 19,541
General and administrative 4,220 3,530 13,129 10,658
Litigation settlement   10   45
Total operating expenses 20,900 17,063 61,105 50,763
Income (loss) from operations 910 3,210 (1,355) 4,713
Other income (expense):        
Interest, net 79 24 142 25
Other income (expense) (112) (221) (452) (150)
Total other income (expense) (33) (197) (310) (125)
Income (loss) before income taxes 877 3,013 (1,665) 4,588
Income tax expense (benefit) (314) 250 (666) 353
Net income (loss) $ 1,191 $ 2,763 $ (999) $ 4,235
Net income (loss) per common share:        
Basic (in dollars per share) $ 0.05 $ 0.12 $ (0.04) $ 0.18
Diluted (in dollars per share) $ 0.05 $ 0.11 $ (0.04) $ 0.16
Weighted-average number of shares:        
Basic (in shares) 24,129 23,840 24,260 23,559
Diluted (in shares) 24,856 25,590 24,260 25,671