License and Services Agreement - Additional Information (Details) - USD ($) $ / shares in Units, $ in Thousands |
1 Months Ended | 9 Months Ended | 12 Months Ended | |
---|---|---|---|---|
Mar. 31, 2018 |
Nov. 30, 2017 |
Sep. 30, 2018 |
Dec. 31, 2017 |
|
License And Services Agreement [Line Items] | ||||
Proceeds from capital contribution | $ 12,000 | |||
January 2017 Notes | ||||
License And Services Agreement [Line Items] | ||||
Repay an outstanding convertible note | $ 4,000 | |||
VX3 License Agreement | ||||
License And Services Agreement [Line Items] | ||||
Research and development, milestone payments to company | $ 32,000 | |||
Terms of license agreement upon termination | the Company will issue to VX3 or its designees the number of shares of the Company’s common stock equal to the lesser of (1) the aggregate of all payments made to VX3 by the Canadian investors divided by $18.20 and (2) the then fair market value of VX3 divided by the then fair market value of one share of the Company’s common stock. | |||
Base amount to determine issuance of common stock upon termination | $ 18.20 | |||
Services Agreement | ||||
License And Services Agreement [Line Items] | ||||
Services payments received | $ 11,900 | |||
VX3 | ||||
License And Services Agreement [Line Items] | ||||
Percentage of voting interest | 90.00% | 96.00% | ||
Proceeds from capital contribution | $ 12,000 |