v3.5.0.2
Earnings Per Share - Reconciliation (Details)
$ / shares in Units, shares in Thousands, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Feb. 29, 2016
USD ($)
Sep. 30, 2016
USD ($)
class
$ / shares
shares
Sep. 30, 2015
USD ($)
$ / shares
shares
Sep. 30, 2016
USD ($)
class
$ / shares
shares
Sep. 30, 2015
USD ($)
$ / shares
shares
Earnings Per Share          
Number of classes of common stock | class   2   2  
Numerator:          
Net income   $ 3,644 $ 4,605 $ 10,202 $ 10,279
Less: Income attributable to convertible preferred stock   (2,672) (3,152)   (7,150)
Add: Preferred stock modification         3,793
Less: Premium on repurchase of convertible preferred stock $ (47,200)     (47,209)  
Net income (loss) attributable to common stockholders   $ 972 $ 1,453 $ (37,007) $ 6,922
Denominator:          
Weighted-average common shares outstanding | shares   12,629 10,228 11,461 10,193
Earnings (loss) per share - basic | $ / shares   $ 0.08 $ 0.14 $ (3.23) $ 0.68
Numerator:          
Net income (loss) attributable to common stockholders - basic   $ 972 $ 1,453 $ (37,007) $ 6,922
Add: Income attributable to dilutive convertible preferred stock         1,218
Less: Preferred stock modification         (3,793)
Net income (loss) attributable to common stockholders - diluted   $ 972 $ 1,453 $ (37,007) $ 4,347
Denominator:          
Weighted-average common shares outstanding | shares   12,629 10,228 11,461 10,193
Dilutive convertible preferred stock | shares         2,790
ESPP shares | shares   5      
Options to purchase common stock | shares   4,430 4,003   3,603
Weighted-average shares outstanding - diluted | shares   17,064 14,231 11,461 16,586
Diluted (in dollars per share) | $ / shares   $ 0.06 $ 0.10 $ (3.23) $ 0.26