Annual report pursuant to Section 13 and 15(d)

Convertible Notes (Details Textual)

v3.19.2
Convertible Notes (Details Textual) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Oct. 23, 2018
May 14, 2018
May 31, 2023
Jun. 30, 2019
Jun. 30, 2018
Debt Instrument [Line Items]          
Principal amount       $ 25,000 $ 15,000
Net proceeds from offering       8,867 13,125
Debt discount       1,984 205
Debt discount amortization       7,740 4,640
Fair value debt discount       955 1,105
fair value of components       955 $ 1,877
Convertible Senior Secured Notes [Member]          
Debt Instrument [Line Items]          
Principal amount       $ 15,000  
Maturity date       May 31, 2023  
Net proceeds from offering $ 8,900        
Description of interest payment date     Interest on the notes accrues at the rate of 6.5% per year and is payable quarterly at the Company's option in cash and/or freely tradable shares of the Company's common stock, subject to certain limitations.    
Conversion price       $ 5.00  
Description of debt conversion The notes are convertible into common stock at the option of the holder at any time prior to maturity at an initial conversion price of $5.10 per share, subject to adjustment under certain circumstances.        
Total debt discount and debt issuance costs       $ 4,845  
Debt discount amortization       6,825  
Fair value debt discount       1,159  
fair value of components       1,809  
Convertible Senior Secured Notes [Member] | Option [Member]          
Debt Instrument [Line Items]          
Debt discount       $ 1,809  
6.5% Convertible Senior Notes [Member]          
Debt Instrument [Line Items]          
Maturity date   May 31, 2023      
Net proceeds from offering   $ 13,100      
Conversion price   $ 5.00      
Change in conversion price   6.55      
Number of shares issued   $ 4.25      
Increase in conversion value   $ 3,951      
Convertible Senior Notes [Member]          
Debt Instrument [Line Items]          
Principal amount $ 10,000        
Maturity date Nov. 30, 2023        
Conversion price $ 6.50