Consolidated Statements of Stockholders' Equity (Deficit) - USD ($) $ in Thousands |
Total |
Bridge Loan [Member] |
Conversion of Convertible Note Payable [Member] |
Series B Redeemable Convertible Preferred Stock [Member] |
Series A Redeemable Convertible Preferred Stock [Member] |
Common Stock [Member] |
Common Stock [Member]
Bridge Loan [Member]
|
Common Stock [Member]
Conversion of Convertible Note Payable [Member]
|
Common Stock [Member]
Series B Redeemable Convertible Preferred Stock [Member]
|
Common Stock [Member]
Series A Redeemable Convertible Preferred Stock [Member]
|
Additional Paid-in Capital [Member] |
Additional Paid-in Capital [Member]
Bridge Loan [Member]
|
Additional Paid-in Capital [Member]
Conversion of Convertible Note Payable [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]
|
Accumulated Deficit [Member] |
Accumulated Other Comprehensive Income (Loss) [Member] |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Beginning balance at Dec. 31, 2016 | $ (45,525) | $ 4 | $ (293) | $ (45,236) | |||||||||||||
Beginning balance, shares at Dec. 31, 2016 | 2,620,803 | ||||||||||||||||
Issuance of common stock | 56,342 | $ 3,666 | $ 4 | 56,338 | $ 3,666 | ||||||||||||
Issuance of common stock, shares | 3,621,250 | 300,000 | |||||||||||||||
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 | |||||||||||||||
Exercise of Primary Warrant | 29,263 | $ 2 | 29,261 | ||||||||||||||
Exercise of Primary Warrant, shares | 2,150,335 | ||||||||||||||||
Conversion of debt and accrued interest | $ 8,045 | $ 20,737 | $ 1 | $ 8,045 | $ 20,736 | ||||||||||||
Conversion of debt and accrued interest, shares | 590,717 | 1,523,746 | |||||||||||||||
Issuance of restricted stock, net of forfeitures | (33) | (33) | |||||||||||||||
Issuance of restricted stock, net of forfeitures, shares | 22,963 | ||||||||||||||||
Buy-back/Repurchase of common stock | (56) | (56) | |||||||||||||||
Buy-back/Repurchase of common stock, shares | (7,500) | ||||||||||||||||
Exercise of options | 131 | 131 | |||||||||||||||
Exercise of options, shares | 80,829 | ||||||||||||||||
Common stock issued to service provider, shares | 6,000 | ||||||||||||||||
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 gain (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 | ||||||||||||||||
Issuance of common stock | 32,770 | $ 2 | 32,768 | ||||||||||||||
Issuance of common stock, shares | 1,955,000 | ||||||||||||||||
Exercise of options | 532 | 532 | |||||||||||||||
Exercise of options, shares | 151,121 | ||||||||||||||||
Common stock purchases under employee stock purchase plan | 1,026 | 1,026 | |||||||||||||||
Common stock purchases under employee stock purchase plan, shares | 80,654 | ||||||||||||||||
Common stock issued to service provider, shares | 7,412 | ||||||||||||||||
Common stock issued upon vesting of restricted stock units, shares | 44,786 | ||||||||||||||||
Forfeitures of restricted stock, shares | (4,184) | ||||||||||||||||
Common stock issued for acquisitions | 10,128 | $ 1 | 10,127 | ||||||||||||||
Common stock issued for acquisitions, shares | 941,548 | ||||||||||||||||
Stock-based compensation expense | 15,493 | 15,493 | |||||||||||||||
Net loss | (61,104) | (61,104) | |||||||||||||||
Other comprehensive gain (loss) | 136 | 136 | |||||||||||||||
Ending balance at Dec. 31, 2018 | $ 60,283 | $ 19 | $ 230,674 | $ (170,411) | $ 1 | ||||||||||||
Ending balance, shares at Dec. 31, 2018 | 19,335,220 |
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://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
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/disclosureRef
|
X | ||||||||||
- Definition Amount after tax and reclassification adjustments of other comprehensive income (loss). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Number of shares issued which are neither cancelled nor held in the treasury. No definition available.
|
X | ||||||||||
- Definition Number of shares of stock issued during the period pursuant to acquisitions. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Number of shares issued during the period as a result of the conversion of convertible securities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Number of shares issued in lieu of cash for services contributed to the entity. Number of shares includes, but is not limited to, shares issued for services contributed by vendors and founders. No definition available.
|
X | ||||||||||
- Definition Number of new stock issued during the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Number of shares related to Restricted Stock Award forfeited during the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Number of share options (or share units) exercised during the current period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Value of stock issued pursuant to acquisitions during the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition The gross value of stock issued during the period upon the conversion of convertible securities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Aggregate change in value for stock issued during the period as a result of employee stock purchase plan. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Value of stock issued as a result of the exercise of stock options. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
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://fasb.org/us-gaap/role/ref/legacyRef
|
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.
|