Notes Payable - Additional Information (Details) - USD ($)
|
|
1 Months Ended |
12 Months Ended |
Nov. 19, 2020 |
Dec. 31, 2021 |
Dec. 31, 2021 |
Dec. 31, 2020 |
| Short-term Debt |
|
|
|
|
| Loss on debt extinguishment |
|
$ (1,200,000)
|
$ (1,233,000)
|
$ (222,000)
|
| Debt, weighted average interest rate |
|
|
9.50%
|
6.40%
|
| Term Loan A |
|
|
|
|
| Short-term Debt |
|
|
|
|
| Aggregate principal amount |
$ 20,000,000
|
$ 0
|
$ 0
|
$ 20,000,000
|
| Debt instrument, interest rate, stated percentage |
8.00%
|
|
|
|
| Debt instrument, basis spread on variable rate |
7.84%
|
|
|
|
| Debt, final payment fee percentage |
5.00%
|
|
|
|
| Class of warrant or right, number of securities called by warrants or rights (in shares) |
18,445
|
|
|
|
| Warrants Issue price per share (in dollars per share) |
$ 16.26
|
|
|
|
| Warrants exercisable term |
10 years
|
|
|
|
| Warrants not settlable in cash, fair value disclosure |
$ 200,000
|
|
|
|
| Term of loan |
5 years
|
|
|
|
| Payments of debt issuance costs |
$ 200,000
|
|
|
|
| Term Loan A | Prepayment Period One |
|
|
|
|
| Short-term Debt |
|
|
|
|
| Percentage of prepayment fee |
2.00%
|
|
|
|
| Term Loan A | Prepayment Period Two |
|
|
|
|
| Short-term Debt |
|
|
|
|
| Percentage of prepayment fee |
1.00%
|
|
|
|
| Term Loan A | Prepayment Period Three |
|
|
|
|
| Short-term Debt |
|
|
|
|
| Percentage of prepayment fee |
0.50%
|
|
|
|
| Term Loan A | Maximum | Prepayment Period One |
|
|
|
|
| Short-term Debt |
|
|
|
|
| Prepayment period |
12 months
|
|
|
|
| Term Loan A | Maximum | Prepayment Period Two |
|
|
|
|
| Short-term Debt |
|
|
|
|
| Prepayment period |
24 months
|
|
|
|
| Term Loan A | Minimum | Prepayment Period Two |
|
|
|
|
| Short-term Debt |
|
|
|
|
| Prepayment period |
12 months
|
|
|
|
| Term Loan A | Minimum | Prepayment Period Three |
|
|
|
|
| Short-term Debt |
|
|
|
|
| Prepayment period |
24 months
|
|
|
|
| Term Loan B |
|
|
|
|
| Short-term Debt |
|
|
|
|
| Principal amount of long-term debt |
$ 5,000,000
|
|
|
|