Consolidated Statements of Stockholders' Equity (Deficit) - USD ($) $ in Thousands |
Total |
Dissenting stockholder [Member] |
Bridge Loan [Member] |
Series B Redeemable Convertible Preferred Stock [Member] |
Series A Redeemable Convertible Preferred Stock [Member] |
Conversion of Convertible Note Payable [Member] |
Common Stock [Member] |
Common Stock [Member]
Dissenting stockholder [Member]
|
Common Stock [Member]
Bridge Loan [Member]
|
Common Stock [Member]
Series B Redeemable Convertible Preferred Stock [Member]
|
Common Stock [Member]
Series A Redeemable Convertible Preferred Stock [Member]
|
Common Stock [Member]
Conversion of Convertible Note Payable [Member]
|
Additional Paid-in Capital [Member] |
Additional Paid-in Capital [Member]
Dissenting stockholder [Member]
|
Additional Paid-in Capital [Member]
Bridge Loan [Member]
|
Additional Paid-in Capital [Member]
Series B Redeemable Convertible Preferred Stock [Member]
|
Additional Paid-in Capital [Member]
Series A Redeemable Convertible Preferred Stock [Member]
|
Additional Paid-in Capital [Member]
Conversion of Convertible Note Payable [Member]
|
Accumulated Deficit [Member] |
Accumulated Other Comprehensive Loss [Member] |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Beginning balance at Dec. 31, 2015 | $ (19,578) | $ 2 | $ (4,527) | $ (15,053) | ||||||||||||||||
Beginning balance, shares at Dec. 31, 2015 | 1,301,249 | |||||||||||||||||||
Issuance of common stock | 159 | 159 | ||||||||||||||||||
Issuance of common stock, shares | 106,420 | |||||||||||||||||||
Exercise of options | 77 | 77 | ||||||||||||||||||
Exercise of options, shares | 51,504 | |||||||||||||||||||
Issuance of warrants | 458 | 458 | ||||||||||||||||||
Beneficial conversion feature | 1,812 | 1,812 | ||||||||||||||||||
Stock-based compensation expense | 1,730 | $ 2 | 1,728 | |||||||||||||||||
Stock-based compensation expense, shares | 961,835 | |||||||||||||||||||
Restricted stock issued | 0 | $ 0 | 0 | 0 | $ 0 | |||||||||||||||
Restricted stock issued, shares | 199,795 | |||||||||||||||||||
Accretion of redeemable convertible preferred stock | (3,204) | (3,204) | ||||||||||||||||||
Net loss | (26,979) | (26,979) | ||||||||||||||||||
Ending balance at Dec. 31, 2016 | (45,525) | $ 4 | (293) | (45,236) | ||||||||||||||||
Ending balance, shares at Dec. 31, 2016 | 2,620,803 | |||||||||||||||||||
Exercise of Primary Warrant | 29,263 | $ 2 | 29,261 | |||||||||||||||||
Conversion of debt and accrued interest | $ 8,045 | $ 20,737 | $ 1 | $ 8,045 | $ 20,736 | |||||||||||||||
Exercise of Primary Warrant, shares | 2,150,335 | |||||||||||||||||||
Conversion of debt and accrued interest, shares | 590,717 | 590,717 | 1,523,746 | |||||||||||||||||
Issuance of restricted stock, net of forfeitures | (33) | (33) | ||||||||||||||||||
Issuance of restricted stock, net of forfeitures, shares | 22,963 | |||||||||||||||||||
Issuance of common stock | $ 56,342 | $ 3,666 | $ 4 | $ 56,338 | $ 3,666 | |||||||||||||||
Buy-back/Repurchase of common stock | $ (56) | (56) | ||||||||||||||||||
Issuance of common stock, shares | 13,538,080 | 3,621,250 | 300,000 | |||||||||||||||||
Buy-back/Repurchase of common stock, shares | (7,500) | (7,500) | ||||||||||||||||||
Conversion of preferred stock | $ 18,668 | $ 8,598 | $ 2 | $ 3 | $ 18,666 | $ 8,595 | ||||||||||||||
Conversion of preferred stock, shares | 2,309,135 | 2,922,798 | 2,309,135 | 2,922,798 | ||||||||||||||||
Exercise of options | $ 131 | 131 | ||||||||||||||||||
Exercise of options, shares | 80,829 | |||||||||||||||||||
Issuance of warrants | 8,658 | 8,658 | ||||||||||||||||||
Beneficial conversion feature | 554 | 554 | ||||||||||||||||||
Modification of warrants | 371 | 371 | ||||||||||||||||||
Stock-based compensation expense | 16,089 | 16,089 | ||||||||||||||||||
Stock-based compensation expense, shares | 23,807 | |||||||||||||||||||
Accretion of redeemable convertible preferred stock | (4,470) | (4,470) | ||||||||||||||||||
Net loss | (59,601) | (59,601) | ||||||||||||||||||
Other comprehensive loss | (135) | (135) | ||||||||||||||||||
Ending balance at Dec. 31, 2017 | $ 61,302 | $ 16 | $ 170,728 | $ (109,307) | $ (135) | |||||||||||||||
Ending balance, shares at Dec. 31, 2017 | 16,158,883 |
X | ||||||||||
- Definition Amount of increase (decrease) in additional paid in capital (APIC) resulting from recognition of deferred taxes for convertible debt with a beneficial conversion feature. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount of increase in additional paid in capital (APIC) resulting from the issuance of warrants. Includes allocation of proceeds of debt securities issued with detachable stock purchase warrants. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount after tax and reclassification adjustments of other comprehensive income (loss). Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Number of shares issued which are neither cancelled nor held in the treasury. No definition available.
|
X | ||||||||||
- Definition Number of shares issued during the period as a result of the conversion of convertible securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Number of new stock issued during the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Number of shares related to Restricted Stock Award forfeited during the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Number of shares (or other type of equity) issued during the period as a result of any equity-based compensation plan other than an employee stock ownership plan (ESOP), net of any shares forfeited. Shares issued could result from the issuance of restricted stock, the exercise of stock options, stock issued under employee stock purchase plans, and/or other employee benefit plans. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Number of share options (or share units) exercised during the current period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition The gross value of stock issued during the period upon the conversion of convertible securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Value of stock related to Restricted Stock Awards forfeited during the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Value of stock related to Restricted Stock Awards issued during the period, net of the stock value of such awards forfeited. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Value of stock (or other type of equity) issued during the period as a result of any equity-based compensation plan other than an employee stock ownership plan (ESOP), net of stock value of such awards forfeited. Stock issued could result from the issuance of restricted stock, the exercise of stock options, stock issued under employee stock purchase plans, and/or other employee benefit plans. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Value of stock issued as a result of the exercise of stock options. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Value of accretion of temporary equity to its redemption value during the period. No definition available.
|
X | ||||||||||
- Definition Adjustments to additional paid in capital warrant modification. No definition available.
|
X | ||||||||||
- Definition Stock Issued During Period Shares Conversion Of Convertible Debt No definition available.
|
X | ||||||||||
- Definition Stock Issued During Period Shares Exercise Of Warrants No definition available.
|
X | ||||||||||
- Definition Stock Issued During Period Value Conversion Of Convertible Debt No definition available.
|
X | ||||||||||
- Definition Stock Issued During Period Value Exercise Of Warrants No definition available.
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|