| Dec 31, 2017 | Dec 31, 2018 | Dec 31, 2019 | Dec 31, 2020 | Dec 31, 2021 | Dec 31, 2022 |
|---|
| Net loss | -3,315,327 | -11,051,015 | -15,341,689 | -18,120,489 | -47,563,751 | -62,879,398 |
|---|
| Depreciation and amortization | 20,107 | 454,494 | 710,401 | 930,401 | 2 | 3,764,919 |
|---|
| Unrealized loss on convertible note fair value | - | - | - | - | - | -1,827,474 |
|---|
| Loss on asset disposal | - | - | - | - | - | -329,946 |
|---|
| Interest expense paid in common stock | - | - | - | - | - | 420,455 |
|---|
| Non-cash operating lease costs | - | - | - | - | - | 580,507 |
|---|
| Common stock to external consultant | - | - | - | - | - | 68,361 |
|---|
| Equity awards issued to external consultants | - | - | - | - | - | 375,782 |
|---|
| Stock-based compensation | 203,734 | 495,605 | 635,319 | 2 | 4 | 6,184,274 |
|---|
| Debt issuance costs - convertible notes | - | - | - | - | - | 801,030 |
|---|
| Loss on impairment of goodwill | - | - | - | - | 7 | - |
|---|
| Deferred income tax benefit | - | - | - | - | -2,938,848 | - |
|---|
| Accounts receivable | -83 | -500 | 244,450 | -227,333 | - | 134,783 |
|---|
| Inventory | 167,699 | 2 | 2 | 2 | 2 | 4,467,912 |
|---|
| Prepaid inventory | - | - | 26,621 | -165,078 | - | -1,198,628 |
|---|
| Other current assets | 372,954 | 1 | -125,217 | 89,258 | 942,809 | -846,104 |
|---|
| Accounts payable | 97,838 | 53,378 | -340,534 | 46,627 | 2 | 5,633,381 |
|---|
| Accrued liabilities | 175,849 | -9,340 | 618,567 | -276,563 | 2 | -1,835,723 |
|---|
| Customer deposits | - | - | - | - | - | -145,209 |
|---|
| Operating lease liabilities | - | - | - | - | - | -589,503 |
|---|
| Warranty reserve | - | - | - | - | - | -123,137 |
|---|
| Deferred revenue | - | - | - | - | - | 87,390 |
|---|
| Deferred rent | - | - | - | - | 101,550 | - |
|---|
| Net cash used in operating activities | -3,344,437 | -12,672,033 | -14,290,913 | -16,293,511 | -39,291,481 | -47,520,722 |
|---|
| Purchase of property and equipment | 2 | 2 | 254,611 | 3 | 17 | 8,062,434 |
|---|
| Security deposits | - | - | - | 59,700 | 15,780 | 2,963 |
|---|
| Cash paid for acquisition of Tilting Motor Works | - | - | - | - | 2 | - |
|---|
| Net cash used in investing activities | -8,207,288 | 4 | -254,611 | -2,902,787 | -19,125,829 | -8,065,397 |
|---|
| Equity Distribution Agreement and Sales Agreement | - | - | - | - | - | 28,209,492 |
|---|
| Equity Line of Credit | - | - | - | - | - | 2,155,025 |
|---|
| Proceeds from the sale of common stock | 20 | 3 | 15 | 57 | - | - |
|---|
| Payment of offering costs | - | - | - | - | 24,000 | 987,227 |
|---|
| Proceeds from exercise of warrants | - | - | - | 2 | 2 | 20,000 |
|---|
| Proceeds from the exercise of stock options | - | 29,259 | 10,502 | 70,194 | 2 | 91,095 |
|---|
| Proceeds from equipment notes | - | - | - | 1 | 365,754 | 177,256 |
|---|
| Proceeds from convertible notes | 100,000 | - | 810,000 | - | - | 13,900,000 |
|---|
| Debt issuance costs - convertible notes | - | - | - | - | - | 801,030 |
|---|
| Payment on finance lease obligations | - | - | - | - | - | 440,722 |
|---|
| Payment of equipment notes | - | - | - | - | - | 504,185 |
|---|
| Payment of notes payable | 250,000 | - | - | 3 | - | 2,039,367 |
|---|
| Payment of convertible note | 75,000 | - | - | 500,000 | - | 702,785 |
|---|
| Net cash provided by financing activities | 19 | 5 | 15 | 53 | 36 | 39,077,552 |
|---|
| Net cash and cash equivalents decrease for year | - | - | - | - | -22,480,081 | -16,508,567 |
|---|
| Cash paid during the year for interest | - | 100,946 | 148,465 | 677,521 | 230,897 | 725,080 |
|---|
| Cash paid during the year for income taxes | 150 | 150 | 150 | 150 | 4,793 | 3,974 |
|---|
| Note payable issued for purchase of property and equipment | - | - | - | - | 1 | - |
|---|
| Insurance finance agreement | - | - | 331,726 | 146,490 | 592,603 | - |
|---|
| Portion of equipment acquired through finance leases | - | - | - | - | - | 675,928 |
|---|