v3.19.2
Long Term Debt (Details Textual) - USD ($)
$ in Thousands
1 Months Ended 6 Months Ended
Jan. 04, 2019
Oct. 01, 2018
Apr. 23, 2019
Jan. 31, 2019
Dec. 21, 2018
Jun. 30, 2019
Jun. 30, 2018
Dec. 31, 2018
Long Term Debt (Textual)                
Interest rate, Description           3.0% note payable to a lender in relation to a four year vehicle loan for the purchase of a truck used in operations.    
Convertible notes             $ 40,200
Net cash proceeds           8,050  
Debt issuance costs           422  
Convertible Debt [Member]                
Long Term Debt (Textual)                
Interest rate, Description         Approximately $1.2 million incurred in January 2019 associated with the issuance of convertible notes in December 2018, were expensed and recognized as interest expense in the condensed consolidated statements of operations for the three and six months ended June 30, 2019 respectively.      
Convertible notes $ 8,100       $ 40,200      
Net cash proceeds 6,500       38,900      
Net cash proceeds from issuance of convertible notes         $ 15,100 $ 3,000    
Debt issuance costs $ 400     $ 400        
Convertible Debt [Member] | Class A common stock [Member]                
Long Term Debt (Textual)                
Convertible notes upon conversion, Shares     3,547,776          
Description of convertible debt     The convertible notes of the Operating Company at a settlement price equal to 80% of the IPO price per share.          
Real Estate Note [Member]                
Long Term Debt (Textual)                
Maturity date           Oct. 01, 2025    
Purchase of building amount   $ 10,000            
Principal amount   $ 8,500            
Interest rate, Description   LIBOR plus 2.39% are due monthly.       LIBOR plus 2.39% are due monthly.    
Line of Credit [Member]                
Long Term Debt (Textual)                
Revolving credit loan   $ 15,000       $ 15,000    
Maturity date   Aug. 23, 2020       Aug. 23, 2020    
Description of Line of credit   The line of credit borrowing base is 80% of eligible accounts receivable plus 50% of eligible inventory. The line of credit covenants require a fixed charge coverage ratio of no less than 1.25, to be calculated on a quarterly basis on the last day of each calendar quarter.            
Description of covenant terms   The Company was in compliance with its covenants as of June 30, 2019.            
Interest rate, Description   LIBOR plus 3.50% per annum.       LIBOR plus 3.50% per annum.