v3.19.2

Notes Payable (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2019
Debt Disclosure [Abstract] |
Schedule of Notes Payable | Notes payable consisted of the following as of the dates presented (in thousands):
|  | June 30, 2019 (unaudited) |  |  | December 31, 2018 |
8% secured promissory notes due August 2018 |  | $ | — |  |  | $ | 250 |
0% convertible notes due January 2021 |  |  | 275 |  |  |  | 275 |
4% promissory note due April 2021 |  |  | 704 |  |  |  | 847 |
0% promissory note due April 2019 |  |  | — |  |  |  | 418 |
8% promissory note due March 2021 |  |  | 2,107 |  |  |  | 2,107 |
12% convertible notes due October 2019 |  |  | 4,000 |  |  |  | 4,000 |
12% convertible notes due November 2019 |  |  | 1,220 |  |  |  | 1,220 |
12% convertible notes due May 2020 |  |  | 3,500 |  |  |  | — |
Total face amount |  |  | 11,806 |  |  |  | 9,117 |
Unamortized discount |  |  | (1,561 | ) |  |  | (1,780 | )
Total carrying value |  |  | 10,245 |  |  |  | 7,337 |
Amount classified as current |  |  | 7,503 |  |  |  | 4,464 |
Amount classified as long-term |  | $ | 2,742 |  |  | $ | 2,873 |

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation. + References No definition available. + Details
Name: | us-gaap_ScheduleOfDebtTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration