Condensed Consolidated Statement of Changes in Shareholders' Equity (unaudited) - USD ($)
$ in Thousands
Class A Common Stock
Additional Paid - in Capital
Accumulated Deficit
Total
Mezzanine Equity
Balances at Dec. 31, 2017 $ 8 $ 206,640 $ (200,482) $ 6,166  
Balances (in shares) at Dec. 31, 2017 8,151,845        
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Proceeds from common stock offering and warrant exercises, net of costs   1,524   $ 1,524  
Proceeds from common stock offering and warrant exercises, net of costs (in shares) 1,600,000        
Common stock issued to settle proxy contest (in shares) 600,000     0  
Net loss     (4,334) $ (4,334)  
Balances at Mar. 31, 2018 $ 8 208,164 (204,816) 3,356  
Balances (in shares) at Mar. 31, 2018 10,351,845        
Balances at Dec. 31, 2017 $ 8 206,640 (200,482) 6,166  
Balances (in shares) at Dec. 31, 2017 8,151,845        
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Net loss       (12,096)  
Balances at Jun. 30, 2018 $ 9 212,446 (212,578) (123)  
Balances (in shares) at Jun. 30, 2018 15,661,398        
Balances at Mar. 31, 2018 $ 8 208,164 (204,816) 3,356  
Balances (in shares) at Mar. 31, 2018 10,351,845        
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Conversion of 2018 Notes $ 1 3,821   3,822  
Conversion of 2018 Notes (in shares) 5,109,553        
Proceeds from warrant exercises related to 2018 Note Offering   373   373  
Proceeds from warrant exercises related to 2018 Note Offering (in shares) 200,000        
Share-based compensation   88   88  
Net loss     (7,762) (7,762)  
Balances at Jun. 30, 2018 $ 9 212,446 (212,578) (123)  
Balances (in shares) at Jun. 30, 2018 15,661,398        
Balances at Dec. 31, 2018 $ 17 253,331 (242,566) 10,782  
Balances (in shares) at Dec. 31, 2018 91,859,638        
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Conversion of 2018 Notes $ 0 421   421  
Conversion of 2018 Notes (in shares) 894,836        
Proceeds from warrant exercises related to 2018 Note Offering   309   309  
Proceeds from warrant exercises related to 2018 Note Offering (in shares) 210,000        
Share-based compensation   78   78  
Adoption of lease accounting standard     37 37  
Net loss     (4,490) (4,490)  
Balances at Mar. 31, 2019 $ 17 254,139 (247,019) 7,137  
Balances (in shares) at Mar. 31, 2019 92,964,474        
Balance at Mar. 31, 2019         $ 0
Balances at Dec. 31, 2018 $ 17 253,331 (242,566) 10,782  
Balances (in shares) at Dec. 31, 2018 91,859,638        
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Conversion of 2018 Notes (in shares) 894,836        
Net loss       (9,566)  
Balances at Jun. 30, 2019 $ 19 255,715 (252,144) 3,590  
Balances (in shares) at Jun. 30, 2019 114,021,830        
Balance at Jun. 30, 2019       195 195
Balances at Mar. 31, 2019 $ 17 254,139 (247,019) 7,137  
Balances (in shares) at Mar. 31, 2019 92,964,474        
Balance at Mar. 31, 2019         0
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Warrant exercises related to 2019 Offering   1,598   1,598  
Warrant exercises related to 2019 Offering (in shares) 5,119,076        
Share-based compensation   59   59  
Common stock offering, net of warrant liability and offering costs $ 2 114   116  
Common stock offering, net of warrant liability and offering costs (in shares) 15,938,280        
Adoption of lease accounting standard     (49) (49)  
Net loss     (5,076) (5,076)  
Redeemable placement agent common stock warrants   (195)   (195) 195
Balances at Jun. 30, 2019 $ 19 $ 255,715 $ (252,144) 3,590  
Balances (in shares) at Jun. 30, 2019 114,021,830        
Balance at Jun. 30, 2019       $ 195 $ 195