Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Computation of Earnings Per Share (Details)

v3.3.1.900
Summary of Significant Accounting Policies - Computation of Earnings Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Dec. 31, 2014
Sep. 30, 2014
Jun. 30, 2014
Mar. 31, 2014
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Numerator—basic:                      
Net income $ 3,858 $ 2,696 $ 3,459 $ 1,572 $ 1,519 $ 2,133 $ 2,286 $ 888 $ 11,585 $ 6,826 $ 25,435
Less deemed dividend on redeemable convertible preferred stock                   (987) (7,278)
Net income before preferred rights dividend                 11,585 5,839 18,157
Less preferred rights dividend                     (7,165)
Less undistributed earnings to preferred stock - basic                   (567) (10,781)
Net income attributable to common stockholders - basic                 11,585 5,272 211
Numerator—diluted:                      
Net income $ 3,858 $ 2,696 $ 3,459 $ 1,572 $ 1,519 $ 2,133 $ 2,286 $ 888 11,585 6,826 25,435
Less deemed dividend on redeemable convertible preferred stock                   (987) (7,278)
Net income before preferred rights dividend                 11,585 5,839 18,157
Less preferred rights dividend                     (7,165)
Less undistributed earnings to preferred stock - diluted                   (514) (9,625)
Net income attributable to common stockholders - diluted                 $ 11,585 $ 5,325 $ 1,367
Denominator:                      
Weighted-average common shares - basic common stock                 19,398,991 16,182,569 276,535
Weighted-average common shares - diluted common stock                 20,708,170 18,037,498 2,008,156
Net income per share - basic common stock $ 0.20 $ 0.14 $ 0.18 $ 0.08 $ 0.08 $ 0.12 $ 0.13 $ (0.01) $ 0.60 $ 0.33 $ 0.76
Net income per share - diluted common stock $ 0.19 $ 0.13 $ 0.17 $ 0.08 $ 0.07 $ 0.11 $ 0.11 $ (0.01) $ 0.56 $ 0.30 $ 0.68
Weighted-average number of shares used in calculating net income per share attributable to common stockholders:                      
Weighted-average common shares - basic common stock                 19,398,991 16,182,569 276,535
Warrants                 10,579 128,016 219,766
Stock options                 1,298,600 1,726,913 1,511,855
Weighted-average common shares - diluted common stock                 20,708,170 18,037,498 2,008,156
Shares excluded from diluted weighted-average shares:                      
Shares excluded from diluted weighted-average shares                 744,301 546,142  
Stock options                      
Shares excluded from diluted weighted-average shares:                      
Shares excluded from diluted weighted-average shares                 744,301 546,142