Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation (Details Textual)

v3.6.0.2
Stock-Based Compensation (Details Textual) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 2 Months Ended 3 Months Ended 12 Months Ended
Jul. 31, 2016
Mar. 31, 2016
Mar. 31, 2015
Jan. 31, 2015
Nov. 30, 2014
Aug. 31, 2014
Jul. 31, 2014
Apr. 30, 2014
Mar. 31, 2014
Feb. 28, 2014
Feb. 27, 2015
Jun. 30, 2015
Mar. 31, 2015
Dec. 31, 2016
Dec. 31, 2015
Jun. 26, 2015
Feb. 28, 2015
Dec. 31, 2014
Nov. 16, 2012
Stock Based Compensation (Textual)                                      
Additional compensation expense                           $ 3,384 $ 3,746        
Issuance of shares to employees for services 2,044,357 73,519 147,586 147,586 12,000 40,241 7,500 9,677 69,458 7,500 216,000 2,864,953 147,586            
Price per share   $ 0.68 $ 2.16                   $ 2.16            
Salaries and wages expense                     $ 30 $ 4,367              
Stock compensation expense                           $ 85 $ 4,901        
Accrued expense   $ 50                               $ 86  
Stock compensation expense                         $ 70            
Aggregate intrinsic value for outstanding options                           $ 0.03 $ 1.00        
Stock based compensation description                           When common stock was issued, it was valued at the trading price on the date of issuance and was expensed as it was issued. During the year ended December 31, 2015, the Company granted an aggregate of 3,258,539 shares under the 2012 and 2015 performance incentive plans, of which 1,366,531 shares were subject to a 3-year vesting term, 25,000 shares were subject to 6-month vesting, and 1,867,008 shares had no vesting terms. During the year ended December 31, 2016, the Company granted an aggregate of 2,055,741 shares under the 2015 performance incentive plan, of which 267,500 shares were subject to a 3-year vesting term, 979,171 shares were subject to 6-month vesting, 100,000 shares were scheduled to vest on January 1, 2017, 412,500 shares were scheduled to vest on June 30, 2017, 75,000 shares were scheduled to vest on December 31, 2017, and 221,570 shares had no vesting terms.          
Maximum [Member]                                      
Stock Based Compensation (Textual)                                      
Price per share $ 0.68                     $ 2.92         $ 2.87    
Minimum [Member]                                      
Stock Based Compensation (Textual)                                      
Price per share $ 0.58                     $ 1.98         $ 2.53    
Stock Option [Member]                                      
Stock Based Compensation (Textual)                                      
Options granted                                    
2012 Equity Incentive Plan [Member]                                      
Stock Based Compensation (Textual)                                      
Addiutional shares of common stock                             500,000        
Options granted                           2,909,389          
Shares authorized                           149,359          
Number of shares authorized for issuance for compensation | shares                                     2,325,000
2015 Performance Incentive Plan [Member]                                      
Stock Based Compensation (Textual)                                      
Shares authorized                           1,453,565 1,035,371        
Number of shares authorized for issuance for compensation | shares                               4,177,447      
Shares limit percentage of number of outstanding shares                               7.50%      
Repurchased shares                           796,488          
2016 Performance Incentive Plan [Member]                                      
Stock Based Compensation (Textual)                                      
Options granted                           2,555,741 964,629        
Employee Stock Purchase Plan [Member]                                      
Stock Based Compensation (Textual)                                      
Stock based compensation description                          
The share limit will automatically increase on the first trading day in January of each year (commencing with January 2014) by an amount equal to lesser of (i) 1% of the total number of outstanding shares of the Company’s common stock on the last trading day in December in the prior year, (ii) 500,000 shares, or (iii) such lesser number as determined by the Company’s board of directors. As of December 31, 2016 and 2015, no shares had been purchased under the Stock Purchase Plan and, at December 31, 2016, 500,000 shares were authorized for issuance under the Stock Purchase Plan.