Quarterly report pursuant to Section 13 or 15(d)

Stock-based Compensation (Details Textual)

v3.8.0.1
Stock-based Compensation (Details Textual) - USD ($)
shares in Thousands, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Oct. 30, 2017
Mar. 31, 2018
Dec. 31, 2017
Jun. 30, 2017
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Defined Contribution Plan, Employer Matching Contribution, Percent of Match     100.00%  
Defined Contribution Plan, Maximum Annual Contributions Percentage,Thereafter     50.00%  
Stock Issued During Period, Shares, Employee Benefit Plan   221    
Restricted Stock Units (RSUs) [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options   $ 159    
Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition   2 years 11 months 16 days    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross   35    
Employee Stock Option [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options   $ 1,809    
Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition   2 years 3 months 14 days    
Minimum [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized 4,714      
Maximum [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized 9,114      
Equity Incentive Plan 2014 [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized 4,400 4,714    
Share-based Compensation Arrangement by Share-based Payment Award, Number of Additional Shares Authorized 2,955      
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant   5,162   1,000
Share based Compensation Arrangement By Share Based Payment Award Shares Withheld To Cover Exercise Amount 25,205      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross 356