CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($)
shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Sep. 30, 2016
Sep. 30, 2015
CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS        
Revenue $ 55,185 $ 43,558 $ 151,435 $ 120,282
Cost of revenue 27,566 21,748 77,303 60,532
Gross margin 27,619 21,810 74,132 59,750
Operating expenses:        
Research and development 9,190 8,191 26,708 24,308
Sales and marketing 10,852 8,489 32,101 23,668
General and administrative 5,407 4,220 15,279 13,129
Litigation settlement     400  
Total operating expenses 25,449 20,900 74,488 61,105
Income (loss) from operations 2,170 910 (356) (1,355)
Other income (expense), net:        
Interest, net 12 79 17 142
Other income (expense), net: (89) (112) (306) (452)
Total other income (expense), net (77) (33) (289) (310)
Income (loss) before income taxes 2,093 877 (645) (1,665)
Income tax expense (benefit) 316 (314) (9,585) (666)
Net income (loss) $ 1,777 $ 1,191 $ 8,940 $ (999)
Net income (loss) per common share:        
Basic (in dollars per share) $ 0.08 $ 0.05 $ 0.38 $ (0.04)
Diluted (in dollars per share) $ 0.07 $ 0.05 $ 0.37 $ (0.04)
Weighted-average number of shares:        
Basic (in shares) 23,424 24,129 23,307 24,260
Diluted (in shares) 24,530 24,856 24,149 24,260