XML 79 R51.htm IDEA: XBRL DOCUMENT v3.6.0.2
Fair Value Measurements - Roll-Forward of Premium conversion Derivative Liabilities (Details) - Premium conversion derivative - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Roll-forward of the company's premium conversion derivative liabilities      
Balance as of beginning of period $ 345 $ 73  
Issuance of underlying convertible notes 505 842 $ 55
Change in fair value of premium conversion derivative $ (850) 297 18
Reversal of premium conversion derivative associated with note extinguishment   (182)  
Redemption of underlying convertible notes   (685)  
Balance as of end of period   $ 345 $ 73