Quarterly report pursuant to Section 13 or 15(d)

Fair Value of Warrants - Summary of Derivative Warrant Activity (Details)

v3.7.0.1
Fair Value of Warrants - Summary of Derivative Warrant Activity (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2017
Class of Warrants Outstanding [Roll Forward]    
Fair value of warrants outstanding as of December 31, 2016 $ 2,018  
Fair value of warrants issued 1,004  
Fair value of warrants exercised (2,696)  
Change in fair value of warrants 6,717  
Fair value of warrants outstanding as of June 30, 2017 2,018 $ 7,043
2016 Offering    
Class of Warrants Outstanding [Roll Forward]    
Fair value of warrants outstanding as of December 31, 2016 2,018  
Fair value of warrants issued 0  
Fair value of warrants exercised (2,696)  
Change in fair value of warrants 6,389  
Fair value of warrants outstanding as of June 30, 2017 2,018 5,711
2017 Debt    
Class of Warrants Outstanding [Roll Forward]    
Fair value of warrants outstanding as of December 31, 2016 0  
Fair value of warrants issued 1,004  
Fair value of warrants exercised 0  
Change in fair value of warrants 328  
Fair value of warrants outstanding as of June 30, 2017 $ 0 $ 1,332