Consolidated Balance Sheets (Parenthetical) - $ / shares
Dec. 31, 2016
Dec. 31, 2015
Statement of Financial Position [Abstract]    
Preferred stock, par value $ 0.001 $ 0.001
Preferred stock, shares authorized 10,000,000 10,000,000
Preferred stock, shares outstanding 2,764 0
Preferred stock, shares issued 2,764 0
Common stock, par value $ 0.001 $ 0.001
Common stock, shares authorized [1] 9,500,000 6,500,000
Common stock, shares issued [1] 5,360,198 3,376,090
Common stock, shares outstanding [1] 5,360,198 3,376,090
[1] Restated for a 1-for-10 reverse stock split effected February 27, 2017.