Common Stock - Additional Information (Detail) $ / shares in Units, $ in Thousands | Apr. 08, 2019USD ($)$ / sharesshares | Feb. 12, 2019USD ($)$ / sharesshares | Feb. 04, 2019$ / sharesshares | Feb. 04, 2019$ / sharesshares | Apr. 04, 2018USD ($)shares | Apr. 03, 2018USD ($)$ / sharesshares | Jan. 31, 2019$ / sharesshares | Apr. 30, 2018USD ($)shares | Sep. 30, 2019USD ($)$ / sharesshares | Jun. 30, 2019shares | Mar. 31, 2019USD ($)shares | Jun. 30, 2018shares | Mar. 31, 2018shares | Sep. 30, 2019USD ($)$ / sharesshares | Sep. 30, 2018USD ($) | Dec. 31, 2018USD ($)$ / shares | Aug. 12, 2019 | Feb. 03, 2019$ / shares |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Sale of stock, number of shares sold in transaction | shares | | 1,706,484 | | | | | | | | | | | | | | | | |
Common stock, par value | $ / shares | | | | | | | | | $ 0.0001 | | | | | $ 0.0001 | | $ 0.0001 | | |
Average selling price of common stock | $ / shares | | $ 1.465 | | | | | | | | | | | | | | | | |
Number of shares issued and sold | shares | | | | | | | | | 370,000 | | | | | | | | | |
Number of warrants exercised | shares | | | | | | | | 15,000 | | | | | | 8,947,112 | | | | |
Issuance of common stock shares | shares | | | | | | | | | 797,334 | | | | | 797,334 | | | | |
Proceeds from Issuance of Warrants | | | | | | | | | | | | | | $ 157 | $ 78 | | | |
Class of Warrant or Right Issued | shares | | 110,922 | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | $ 1.8313 | $ 2.125 | $ 2.125 | | | $ 2.125 | | $ 7.50 | | | | | $ 7.50 | | | | |
Proceeds from Issuance of Common Stock | | $ 2,500 | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Date from which Warrants or Rights Exercisable | | | | | | | | | | | | | | Jan. 26, 2024 | | | | |
Proceeds from Issuance of Common Stock and Warrants | | | | | | | | | | | | | | $ 17,545 | $ 16,286 | | | |
Class of warrant or right fair value per warrant | | | | | | | | | | | | | | | | | 0.5314% | |
Estimate of Fair Value Measurement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Class of warrant or right fair value per warrant | | | | | | | | | 1.2362% | | | | | 1.2362% | | | | |
Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Payment of commissions and other issuance cost | | | | | | | | | | | | | | $ 1,904 | | $ 1,497 | | |
Proceeds from sale of common stock | | | | | | | | | | | | | | $ 14,517 | | | | |
Underwriting Agreement [Member] | Estimate of Fair Value Measurement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Class of warrant or right fair value per warrant | 0.997% | | | | | | | | | | | | | | | | | |
Investor [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Stock issued during period, shares | shares | | 1,706,484 | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | $ 1.34 | | | | | | | $ 1.34 | | | | | $ 1.34 | | | | |
Class of warrant or right fair value per warrant | | 0.5962% | | | | | | | | | | | | | | | | |
Warrant [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Payment of commissions and other issuance cost | | | | | | | | | | | $ 691 | | | $ 2,595 | | | | |
Proceeds from sale of common stock | | | | | | | | | | | $ 3,049 | | | $ 17,702 | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | $ 83.50 | | | | | $ 83.50 | | | | |
Proceeds from Warrant Exercises | | | | | | | | | $ 70 | | | | | | | | | |
Gross Proceeds Up To Five Thousand [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Commission rate on sale of stock | | | | | | | | | | | | | | 7 | | 7 | | |
Gross Proceeds In Excess Of Five Thousand [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Commission rate on sale of stock | | | | | | | | | | | | | | 6.5 | | | | |
Series A Warrant [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | $ 6.50 | | | | | $ 6.50 | | | | |
Prefunded Warrants Issued [Member] | Warrant [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right Issued | shares | | | | | | | | | 697,500 | | | | | | | | | |
Common Stock [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Number of shares issued and sold | shares | | | | | | | | | | 3,319,553 | 2,394,955 | 1,681,000 | 123,266 | | | | | |
Common Stock [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Common stock, par value | $ / shares | $ 0.0001 | | | | | | | | | | | | | | | | | |
Number of shares | shares | 1 | | | | | | | | | | | | | | | | | |
Common Units [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Proceeds from sale of common stock | $ 16,557 | | | | $ 15,944 | | | | | | | | | | | | | |
Proceeds from Issuance of Warrants | $ 8,647,112 | | | | | | | | | | | | | | | | | |
Common Units [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Proceeds from sale of common stock | | | | | | $ 15,197 | | | | | | | | | | | | |
Average selling price of common stock | $ / shares | $ 1.35 | | | | | $ 6.50 | | | | | | | | | | | | |
Number of shares issued and sold | shares | 1,719,554 | | | | | 1,566,000 | | | | | | | | | | | | |
Common Units [Member] | Common Stock [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Common stock, par value | $ / shares | | | | | | | | | | | | | | | | | | $ 0.0001 |
Prefunded Units [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Average selling price of common stock | $ / shares | $ 1.34 | | | | | $ 6.40 | | | | | | | | | | | | |
Number of shares issued and sold | shares | 8,947,112 | | | | | 784,000 | | | | | | | | 8,647,112 | | | | |
Number of warrants exercised | shares | | | | | | | | | | | | | | 8,647,112 | | | | |
Pre Funded Warrants [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Gross proceeds from sale of shares | | | | | | | | $ 78 | $ 4 | | | | | $ 87 | | | | |
Number of shares issued and sold | shares | | | | | | | | 783,707 | | | | | | | | | | |
Number of warrants exercised | shares | | | | | | | | | 370,000 | 8,277,112 | | | | | | | | |
Pre Funded Warrants [Member] | Underwriter Warrants [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Proceeds from sale of common stock | | | | | | | | | | | | | | 14,653 | | | | |
Maximum [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Gross proceeds from sale of shares | | | | | | | | | | | | | | 5,000 | | | | |
Minimum [Member] | Underwriting Agreement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Gross proceeds from sale of shares | | | | | | | | | | | | | | $ 5,000 | | | | |
BTIG LLC [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Fixed commission rate entitled to placement agent | | | | | | | | | | | | | | 3.00% | | | | |
At the Market Offering [Member] | BTIG LLC [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Sale of stock, number of shares sold in transaction | shares | | | | | | | | | | | | | | 123,266 | | | | |
Proceeds from sale of common stock | | | | | | | | | | | | | | $ 1,847 | | | | |
Fixed commission rate entitled to placement agent | | | | | | | | | | | | | | 3.00% | | | | |
Average selling price of common stock | $ / shares | | | | | | | | | $ 15.40 | | | | | $ 15.40 | | | | |
Gross proceeds from sale of shares | | | | | | | | | | | | | | $ 1,904 | | | | |
At the Market Offering [Member] | BTIG LLC [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Aggregate offering on sale of common stock | | | | | | | | | $ 11,000 | | | | | 11,000 | | | | |
Over-Allotment Option [Member] | Common Units [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Number of shares issued and sold | shares | 1,599,999 | | | | 115,000 | | | | | | | | | | | | | |
Confidential Marketed Public Offering [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Sale of stock, number of shares sold in transaction | shares | | | | 532,353 | | | 156,118 | | | | | | | | | | | |
Average selling price of common stock | $ / shares | | | $ 1.70 | $ 1.70 | | | | | | | | | | | | | | |
Class of Warrant or Right Issued | shares | | | 34,605 | | | | 10,151 | | | | | | | | | | | |
Proceeds from Issuance of Common Stock and Warrants | | | | | | | | | | | | | | $ 1,170 | | | | |
Confidential Marketed Public Offering [Member] | Estimate of Fair Value Measurement [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Class of warrant or right fair value per warrant | | | 1.1946% | 1.1946% | | | 0.9332% | | | | | | | | | | | |
IPO [Member] | Underwriter Warrants [Member] | | | | | | | | | | | | | | | | | | |
Temporary Equity [Line Items] | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | $ 1.6875 | | | | | $ 1.6875 | | | | |