Note 2 - Investments and Fair Value Measurement - Summary of Changes in Fair Value of Level III Financial Liabilities (Details) - Fair Value, Inputs, Level 3 [Member] - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2017 |
Dec. 31, 2016 |
|
| Fair value—beginning of period | $ 412 | $ 1,179 |
| Fair value—end of period | 207 | 412 |
| PIPE Warrants [Member] | ||
| Expiration of fair value of PIPE warrants | (288) | (625) |
| Contingent Put Option Liability [Member] | ||
| Expiration of fair value of PIPE warrants | $ 83 | $ (142) |