Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity (Details Textual)

Stockholders' Equity (Details Textual) - USD ($)
1 Months Ended 12 Months Ended
Oct. 29, 2018
Jun. 29, 2018
Dec. 31, 2019
Jun. 30, 2019
May 21, 2019
Jun. 27, 2018
Jun. 22, 2018
Apr. 19, 2018
Feb. 02, 2020
Feb. 03, 2019
Feb. 04, 2018
Jun. 05, 2019
May 10, 2018
Apr. 30, 2018
Stockholders' Equity (Textual)                            
Sale shares of common stock 2,220,000                          
Warrants to purchase                     798,975      
Percentage of dividend                     8.00%      
Preferred stock value                        
Percentage of offering price                 70.00%          
Board of directors [Member]                            
Stockholders' Equity (Textual)                            
Reverse stock split, description             The board of directors of the Company approved a 1-for-2.5 reverse stock split of the Company's shares of common stock.              
Unvested restricted stock units [Member]                            
Stockholders' Equity (Textual)                            
Sale of stock, description                 All the unvested restricted stock units for certain senior executives of the Company vested according to the accelerated vesting trigger in their restricted stock unit agreements. The triggering event was the market capitalization of the Company post IPO, exceeding $300 million for 60 consecutive trading days and the expiration of the lockup- period. This accelerated vesting resulted in equity-based compensation in the amount of $2.9 million.          
IPO [Member]                            
Stockholders' Equity (Textual)                            
Reverse stock split, description             The board of directors of the Company approved a 1-for-2.5 reverse stock split of the Company’s shares of common stock              
Sale shares of common stock           4,025,000                
Sale of stock price per share           $ 16.00                
Net proceeds offering           $ 59,200,000                
Sale of stock, description         The Company and certain of the Company’s stockholders completed a primary and secondary public offering of an aggregate of 2,500,000 shares of common stock, which included 750,000 shares offered by the Company and 1,750,000 shares offered by certain selling stockholders of the Company, at a public offering price of $36.00 per share. Net proceeds to the Company from the offering were approximately $25.6 million after legal and underwriting expenses.                  
2017 Equity Incentive Plan [Member]                            
Stockholders' Equity (Textual)                            
Description of equity incentive plan     Pursuant to the exchange SAC LLC transferred 175,478 shares of common stock to the Company and the Company immediately cancelled these shares. The Company then issued to the former option holders the number of those shares pursuant to the Plan and withheld 73,507 shares to satisfy taxes associated with the issuance.                      
Vesting date, description       The Company granted 495,366 Non statutory Stock options to certain officers of the Company with an option price of $38.10 per share. 100% of the stock options are subject to vesting on the first trading day after the date on which the closing price of the Company's stock price has been at least $75 for 60 consecutive trading days so long as this goal has been attained by June 5, 2022 or the options will terminate.                    
Exchange and modification of options that were held     $ 313,000                      
2017 Equity Incentive Plan [Member] | Minimum [Member]                            
Stockholders' Equity (Textual)                            
Shares of common stock reserved for issuance                       615,066 615,066 420,000
2017 Equity Incentive Plan [Member] | Maximum [Member]                            
Stockholders' Equity (Textual)                            
Shares of common stock reserved for issuance                       1,414,889 604,612 604,612
2017 Equity Incentive Plan [Member] | Restricted Stock [Member]                            
Stockholders' Equity (Textual)                            
Stock compensation expense related to restricted stock units                 $ 4,900,000 $ 3,300,000        
Unrecognized restricted stock unit compensation cost related to non-vested awards                 $ 4,393,453          
Restricted stock recognized in operations over weighted average period                 2 years 3 months 19 days          
Fiscal 2019 [Member]                            
Stockholders' Equity (Textual)                            
Restated warrants total                 56,077          
Fair value term                 3 years          
Warrants as deemed dividend                 $ 408,919          
Fiscal 2020 [Member]                            
Stockholders' Equity (Textual)                            
Warrants issued                 18,166          
Warrants, description                 The Company issued 18,166 warrants to a third party in connection with previous equity raise. These warrants were valued using the Black-Scholes model, with similar assumptions to the June 2018 warrants. The warrants had a fair value of approximately $130,000. Of these warrants, 17,396 were exercised on May 14, 2019.          
Warrant [Member]                            
Stockholders' Equity (Textual)                            
Exercise of warrant                 $ 27,246          
Warrants term                 5 years          
Total warrants outstanding                 1,039,120 1,067,475 930,054      
Warrants canceled               930,054            
Warrants issued               798,975 281,750          
Deemed dividend   $ 1,498,079                        
Purchase price per share of common stock   $ 16.00                        
Warrants exercised                 (46,521) (69,327)        
Preferred Stock [Member]                            
Stockholders' Equity (Textual)                            
Preferred stock equivalent                     898,600      
Exchange for total shares                     899      
Percentage of dividend   8.00%                        
Net of issuance costs                     $ 1,325,156      
Preferred stock value   $ 25,645,000                 $ 21,139,845      
Preferred stock dividends   2,037,200                        
Preferred stock converted value   $ 2,495,704                        
Preferred stock converted to common stock per share   $ 9.13                        
Deemed dividend   $ 22,601,161                        
Purchase price per share of common stock   $ 3,287,441