| Note 14 - Income Taxes (Details Textual) - USD ($) $ in Thousands | 3 Months Ended | |
|---|---|---|
| Mar. 31, 2021 | Dec. 31, 2020 | |
| Unrecognized Tax Benefits, Ending Balance | $ 0 | $ 0 | 
| Domestic Tax Authority [Member] | ||
| Operating Loss Carryforwards, Total | $ 153,300 | |
| Domestic Tax Authority [Member] | Internal Revenue Service (IRS) [Member] | ||
| Open Tax Year | 2017 2018 2019 2020 | |
| Domestic Tax Authority [Member] | Internal Revenue Service (IRS) [Member] | Research Tax Credit Carryforward [Member] | ||
| Tax Credit Carryforward, Amount | $ 8,900 | |
| State and Local Jurisdiction [Member] | ||
| Open Tax Year | 2017 2018 2019 2020 | |
| Operating Loss Carryforwards, Total | $ 20,100 | 
| X | ||||||||||
| 
- Definition Tax year that remains open to examination under enacted tax laws, in CCYY format. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |