Equity Financing - Additional Information (Detail) | | 1 Months Ended | 12 Months Ended | | |
Aug. 16, 2022 USD ($) $ / shares | Aug. 31, 2022 USD ($) $ / shares shares | Jan. 31, 2021 USD ($) $ / shares shares | Dec. 31, 2020 USD ($) $ / shares shares | Sep. 30, 2019 USD ($) $ / shares shares | Jun. 30, 2019 USD ($) $ / shares shares | Jun. 30, 2018 USD ($) $ / shares shares | Mar. 31, 2018 USD ($) $ / shares shares | Dec. 31, 2022 USD ($) | Jun. 30, 2022 $ / shares | Jan. 28, 2021 |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Stock price | $ / shares | | | | | | | | | | $ 40 | |
Maximum [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Proceeds from issuance, aggregate offering prices | $ | | | | | | | | | $ 50,000,000 | | |
March 2018 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Shares of common stock issued | | | | | | | | 30,041 | | | |
Warrant issued, shares of common stock called by warrant | | | | | | | | 32,071 | | | |
Warrants issued, exercise price | $ / shares | | | | | | | | $ 429.03 | | | |
August 2022 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Shares of common stock issued | | 61,250 | | | | | | | | | |
Offering closing period | | Aug. 16, 2022 | | | | | | | | | |
August 2022 Purchase Agreement [Member] | Pre Funded Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | 56,813 | | | | | | | | | |
Warrants issued, exercise price | $ / shares | | $ 0.004 | | | | | | | | | |
August 2022 Purchase Agreement [Member] | Preferred Investment Options [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Shares of common stock issued | | 118,063 | | | | | | | | | |
Exercise price | $ / shares | | $ 37.35 | | | | | | | | | |
Proceeds from issuance of common stock, pre-funded warrants and preferred investment options | $ | | $ 5,000,000 | | | | | | | | | |
Warrants expiration period | | 5 years | | | | | | | | | |
December 2020 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Shares of common stock issued | | | | 65,467 | | | | | | | |
Proceeds from issuance of common stock and warrants gross | $ | | | | $ 8,000,000 | | | | | | | |
Offering closing period | | | | Dec. 22, 2020 | | | | | | | |
December 2020 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | | 65,467 | | | | | | | |
Warrants issued, exercise price | $ / shares | | | | $ 120 | | | | | | | |
Warrants expiration period | | | | 5 years 6 months | | | | | | | |
September 2019 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Shares of common stock issued | | | | | 32,971 | | | | | | |
Proceeds from issuance of common stock and warrants gross | $ | | | | | $ 10,000,000 | | | | | | |
Offering closing period | | | | | Sep. 05, 2019 | | | | | | |
September 2019 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | | | 16,486 | | | | | | |
Warrants issued, exercise price | $ / shares | | | | | $ 300.80 | | | | | | |
Warrants expiration period | | | | | 5 years 6 months | | | | | | |
June 2019 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Shares of common stock issued | | | | | | 37,240 | | | | | |
Proceeds from issuance of common stock and warrants gross | $ | | | | | | $ 7,500,000 | | | | | |
Offering closing period | | | | | | Jun. 14, 2019 | | | | | |
June 2019 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | | | | 37,240 | | | | | |
Warrants issued, exercise price | $ / shares | | | | | | $ 200 | | | | | |
Warrants expiration period | | | | | | 5 years 6 months | | | | | |
June 2018 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Shares of common stock issued | | | | | | | 34,809 | | | | |
Proceeds from issuance of common stock and warrants gross | $ | | | | | | | $ 14,000,000 | | | | |
Offering closing period | | | | | | | Jun. 14, 2018 | | | | |
June 2018 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | | | | | 34,809 | | | | |
Warrants issued, exercise price | $ / shares | | | | | | | $ 397.60 | | | | |
Warrants expiration period | | | | | | | 5 years 6 months | | | | |
June 2018 Placement Agent Warrants [Member] | June 2018 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | | | | | 1,741 | | | | |
Warrants issued, exercise price | $ / shares | | | | | | | $ 502.72 | | | | |
Warrant, exercisable term | | | | | | | 5 years | | | | |
June 2019 Placement Agent Warrants [Member] | June 2019 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | | | | 1,862 | | | | | |
Warrants issued, exercise price | $ / shares | | | | | | $ 251.75 | | | | | |
Warrant, exercisable term | | | | | | 5 years | | | | | |
September 2019 Placement Agent Warrants [Member] | September 2019 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | | | 1,649 | | | | | | |
Warrants issued, exercise price | $ / shares | | | | | $ 379.12 | | | | | | |
Warrant, exercisable term | | | | | 5 years | | | | | | |
August 2022 Options and August 2022 Placement Agent Options [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Expected volatility | 128.46% | | | | | | | | | | |
Stock price | $ / shares | $ 37.60 | | | | | | | | | | |
Risk-free interest rate | 2.97% | | | | | | | | | | |
Expected term | 5 years | | | | | | | | | | |
August 2022 Placement Agent Options [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Fair value assumptions, value | $ | $ 191,000 | | | | | | | | | | |
Offering costs | $ | 488,000 | | | | | | | | | | |
Allocation of common stock option liability expense | $ | 314,000 | | | | | | | | | | |
Remaining offering costs allocated to common stock and offset to additional paid in capital | $ | 365,000 | | | | | | | | | | |
August 2022 Placement Agent Options [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Offering costs | $ | $ 679,000 | | | | | | | | | | |
August 2022 Placement Agent Options [Member] | August 2022 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | 5,904 | | | | | | | | | |
Warrants issued, exercise price | $ / shares | | $ 52.80 | | | | | | | | | |
Warrant, exercisable term | | 5 years | | | | | | | | | |
December 2020 Placement Agent Warrants [Member] | December 2020 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | | 3,274 | | | | | | | |
Warrants issued, exercise price | $ / shares | | | | $ 152.75 | | | | | | | |
Warrant, exercisable term | | | | 5 years | | | | | | | |
January 2021 Private Placement [Member] | January 2021 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Shares of common stock issued | | | 196,920 | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | 98,460 | | | | | | | | |
Warrants issued, exercise price | $ / shares | | | $ 125.20 | | | | | | | | |
Proceeds from issuance of common stock and warrants gross | $ | | | $ 25,100,000 | | | | | | | | |
Warrants expiration period | | | 5 years 6 months | | | | | | | | |
Remaining offering costs allocated to common stock and offset to additional paid in capital | $ | | | $ 2,000,000 | | | | | | | | |
January 2021 Private Placement [Member] | January 2021 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Offering costs allocated to common stock warrant liability and expensed | $ | | | $ 769,000 | | | | | | | | |
January 2021 Private Placement [Member] | January 2021 Purchase Agreement [Member] | Warrants [Member] | Expected Volatility [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Preferred investment options liability, measurement input | | | | | | | | | | | 1.238 |
January 2021 Private Placement [Member] | January 2021 Purchase Agreement [Member] | Warrants [Member] | Stock Price [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Preferred investment options liability, measurement input | | | | | | | | | | | 1.1520 |
January 2021 Private Placement [Member] | January 2021 Purchase Agreement [Member] | Warrants [Member] | Risk-Free Interest Rate [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Preferred investment options liability, measurement input | | | | | | | | | | | 0.05 |
January 2021 Private Placement [Member] | January 2021 Placement Agent Warrants [Member] | January 2021 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | 9,846 | | | | | | | | |
Warrants issued, exercise price | $ / shares | | | $ 159.60 | | | | | | | | |
Offering costs | $ | | | $ 1,900,000 | | | | | | | | |
Warrant, exercisable term | | | 5 years 6 months | | | | | | | | |
Issuance of placement agent warrants | $ | | | $ 942,000 | | | | | | | | |
January 2021 Private Placement [Member] | January 2021 Placement Agent Warrants [Member] | January 2021 Purchase Agreement [Member] | Warrants [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Offering costs | $ | | | $ 2,800,000 | | | | | | | | |
March 2018 Private Placement [Member] | March 2018 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Shares of common stock issued | | | | | | | | 7,519 | | | |
Warrant issued, shares of common stock called by warrant | | | | | | | | 7,519 | | | |
Warrants issued, exercise price | $ / shares | | | | | | | | $ 1,830 | | | |
Proceeds from issuance of common stock and warrants gross | $ | | | | | | | | $ 10,000,000 | | | |
Warrants expiration period | | | | | | | | 5 years | | | |
March 2018 Private Placement [Member] | March 2018 Placement Agent Warrants [Member] | March 2018 Purchase Agreement [Member] | | | | | | | | | | | |
Class Of Warrant Or Right [Line Items] | | | | | | | | | | | |
Warrant issued, shares of common stock called by warrant | | | | | | | | 376 | | | |
Warrants issued, exercise price | $ / shares | | | | | | | | $ 1,662.50 | | | |
Warrant, exercisable term | | | | | | | | 5 years | | | |