Annual report pursuant to Section 13 and 15(d)

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

v3.6.0.2
Summary of Significant Accounting Policies - Computation of Earnings Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Jun. 30, 2016
Sep. 30, 2016
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Numerator—basic:                          
Net income $ 5,260 $ 5,246 $ 7,492 $ 2,521 $ 3,858 $ 2,696 $ 3,459 $ 1,572 $ 10,013 $ 15,259 $ 20,519 $ 11,585 $ 6,826
Less deemed dividend on redeemable convertible preferred stock                         (987)
Net income before preferred rights dividend                     20,519 11,585 5,839
Less undistributed earnings to preferred stock - basic                         (567)
Net income attributable to common stockholders - basic                     20,519 11,585 5,272
Numerator—diluted:                          
Net income $ 5,260 $ 5,246 $ 7,492 $ 2,521 $ 3,858 $ 2,696 $ 3,459 $ 1,572 $ 10,013 $ 15,259 20,519 11,585 6,826
Less deemed dividend on redeemable convertible preferred stock                         (987)
Net income before preferred rights dividend                     20,519 11,585 5,839
Less undistributed earnings to preferred stock - diluted                         (514)
Net income attributable to common stockholders - diluted                     $ 20,519 $ 11,585 $ 5,325
Denominator:                          
Weighted-average common shares - basic common stock 20,310,857 20,157,688 19,972,395 19,827,669 19,689,662 19,428,653 19,310,064 19,167,585 19,900,032 19,986,544 20,067,152 19,398,991 16,182,569
Weighted-average common shares - diluted common stock 21,362,513 21,182,587 20,997,429 20,840,367 20,812,773 20,783,550 20,672,414 20,562,040 20,931,802 21,000,945 21,095,867 20,708,170 18,037,498
Net income per share - basic common stock $ 0.26 $ 0.26 $ 0.38 $ 0.13 $ 0.20 $ 0.14 $ 0.18 $ 0.08 $ 0.50 $ 0.76 $ 1.02 $ 0.60 $ 0.33
Net income per share - diluted common stock $ 0.25 $ 0.25 $ 0.36 $ 0.12 $ 0.19 $ 0.13 $ 0.17 $ 0.08 $ 0.48 $ 0.73 $ 0.97 $ 0.56 $ 0.30
Weighted-average number of shares used in calculating net income per share attributable to common stockholders:                          
Weighted-average common shares - basic common stock 20,310,857 20,157,688 19,972,395 19,827,669 19,689,662 19,428,653 19,310,064 19,167,585 19,900,032 19,986,544 20,067,152 19,398,991 16,182,569
Warrants                       10,579 128,016
Stock options                     1,028,715 1,298,600 1,726,913
Weighted-average common shares - diluted common stock 21,362,513 21,182,587 20,997,429 20,840,367 20,812,773 20,783,550 20,672,414 20,562,040 20,931,802 21,000,945 21,095,867 20,708,170 18,037,498
Shares excluded from diluted weighted-average shares:                          
Shares excluded from diluted weighted-average shares                     841,760 744,301 546,142
Stock options                          
Shares excluded from diluted weighted-average shares:                          
Shares excluded from diluted weighted-average shares                     841,760 744,301 546,142