Consolidated Statement of Changes in Shareholders' Equity (Deficit) - USD ($)
$ in Thousands
Class A common stock
Additional Paid - in Capital
Bus Comb Cons to be Transferred
Accumulated Deficit
Total
Balances at Dec. 31, 2014 $ 5 $ 140,124 $ 1,244 $ (146,674) $ (5,301)
Balances (in shares) at Dec. 31, 2014 4,335        
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Issuance of common stock and other equity changes related to compensation   784     784
Issuance of common stock and other equity changes related to compensation (in shares) 25        
Proceeds from common stock offerings and warrant exercises, net of costs $ 3 15,022     15,025
Proceeds from common stock offerings and warrant exercises, net of costs (in shares) 11,739        
Establishment of liability related to common stock warrant issuance   (12,246)     (12,246)
Adjustment to common stock warrant liability for warrants exercised/extinguished   7,267     7,267
Adjustment to common stock warrant liability for warrants exercised/extinguished (in shares) 2,213        
Related party debt conversion   4,238     4,238
Related party debt conversion (in shares) 2,147        
Business combination consideration   1,244 $ (1,244)    
Business combination consideration (in shares) 38        
Fractional shares issued in connection with reverse split (in shares) 5        
Net loss       (10,780) (10,780)
Balances at Dec. 31, 2015 $ 8 156,433   (157,454) (1,013)
Balances (in shares) at Dec. 31, 2015 20,502        
Increase (Decrease) in Stockholders' Equity [Roll Forward]          
Issuance of common stock and other equity changes related to compensation   708     708
Proceeds from common stock offerings and warrant exercises, net of costs   5,185     5,185
Proceeds from common stock offerings and warrant exercises, net of costs (in shares) 626,251        
Fair value of shares issued for convertible note and interest and preferred stock liability converted to common stock $ 17,308 21,604     21,604
Fair value of shares issued for convertible note and interest and preferred stock liability converted to common stock (in shares) 534,875        
Issuance of common stock related to line of credit   167     167
Issuance of common stock related to line of credit (in shares) 970        
Adjustment to common stock warrant liability for warrants exercised/extinguished   103     103
Adjustment to common stock warrant liability for warrants exercised/extinguished (in shares) 364        
Fractional shares issued in connection with reverse split (in shares) 189        
Issuance of warrants in the 2016 note and preferred stock offerings $ 2,502 3,552     3,552
Net loss       (25,328) (25,328)
Balances at Dec. 31, 2016 $ 8 $ 187,752   $ (182,782) $ 4,978
Balances (in shares) at Dec. 31, 2016 1,183,151