Fair Value Measurements (Tables)
6 Months Ended
Jun. 30, 2019
Fair Value Disclosures [Abstract]  
Schedule of fair value of assets and liabilities measured on recurring basis
          Quoted Prices              
          in Active     Significant        
          Markets for     Other     Significant  
          Identical     Observable     Unobservable  
          Items     Inputs     Inputs  
Balance at June 30, 2019 (in thousands)   Total     (Level 1)     (Level 2)     (Level 3)  
Common stock warrant liability   $ 3,766       -            -     $ 3,766  
    $ 3,766           -        -     $ 3,766  

  

Schedule of reconciliation of common stock warrant liability measured at fair value on recurring basis
(in thousands)   Series Q
common stock
warrant liability
    Series R
common stock
warrant liability
    Series S common
stock warrant
liability
    Total  
Fair value of financial liabilities at December 31, 2018   $ 511     $ -     $ -     $ 511  
April 2019 Offering     -       2,605       250       2,855  
Change in the fair value of common stock warrant liabilities, net     (30 )     1,518       -       1,488  
Adjustment for exercise of common stock warrant liabilities     (241 )     (597 )     (250 )     (1,088 )
Fair value of financial liabilities at June 30, 2019   $ 240     $ 3,526     $ -     $ 3,766  
 
Schedule of assumptions used for fair value measurements
    Exercise 
Price
    Strike Floor   Closing
Market Price
(average)
    Risk-free
Rate
    Dividend
Yield
    Market
Price
Volatility
    Remaining
Term (years)
 
Series Q Common Stock Warrant Liability June 30, 2019   $ 0.19     N/a   $ 0.28       1.76 %     0.00 %     151 %     3.78  
Series R Common Stock Warrant Liability June 30, 2019   $ 0.20     N/a   $ 0.28       1.76 %     0.00 %     151 %     4.76