Restatement of Previously Issued Financial Statements (Details) - Schedule of condensed consolidated statement of cash flows - USD ($) $ in Thousands |
3 Months Ended |
9 Months Ended |
Sep. 30, 2021 |
Sep. 30, 2021 |
| As Previously Reported [Member] |
|
|
| Condensed Cash Flow Statements, Captions [Line Items] |
|
|
| Net loss |
$ (20,283)
|
$ (132,878)
|
| Change in fair value of warrants |
(6,551)
|
42,239
|
| Change in fair value of subordinated convertible notes |
|
49,561
|
| Issuance of common stock related to convertible debt |
|
100,311
|
| Issuance of common stock related to warrants exercised |
|
73,456
|
| Adjustment [Member] |
|
|
| Condensed Cash Flow Statements, Captions [Line Items] |
|
|
| Net loss |
(4,362)
|
(4,362)
|
| Change in fair value of warrants |
12,046
|
12,046
|
| Change in fair value of subordinated convertible notes |
|
(7,684)
|
| Issuance of common stock related to convertible debt |
|
(7,684)
|
| Issuance of common stock related to warrants exercised |
|
12,046
|
| As Restated [Member] |
|
|
| Condensed Cash Flow Statements, Captions [Line Items] |
|
|
| Net loss |
(24,645)
|
(137,240)
|
| Change in fair value of warrants |
$ 5,495
|
54,285
|
| Change in fair value of subordinated convertible notes |
|
41,877
|
| Issuance of common stock related to convertible debt |
|
92,627
|
| Issuance of common stock related to warrants exercised |
|
$ 85,502
|