Debt - Additional Information (Details) - USD ($) $ in Thousands, shares in Millions | | | | 3 Months Ended | 6 Months Ended | |
Mar. 25, 2022 | Mar. 09, 2022 | Mar. 08, 2021 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Dec. 31, 2021 |
Debt Instrument [Line Items] | | | | | | | |
Proceeds from long term debt | | | | | $ 35,942 | $ 47,481 | |
Original issue discount | | | | | 96,692 | | $ 9,119 |
Equity issuance costs | | | | | 45,303 | 5,667 | |
Proceeds from issuance of common stock | | | | | 14,791 | | |
Gain (Loss) on extinguishment of debt | | | | $ 2,565 | (23,141) | $ (68,102) | |
Affiliate of Daniel Staton | Subscription Agreement | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Due to affiliate quarterly fee amount | | | | | 1,875 | | |
Beach Point Rollover Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Shares issued as part of merger | 2.4 | | | | | | |
Carrying amount of debt | $ 38,600 | | | | | | |
Fair value of common stock issued | 31,800 | | | | | | |
Issuance costs related to debt | 328 | | | | | | |
Rollover debt with fair value | 31,000 | | | | | | |
Allocated to Debt | Beach Point Rollover Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Issuance costs related to debt | 178 | | | | | | |
Allocated to Equity | Beach Point Rollover Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Equity issuance costs | 151 | | | | | | |
Senior Secured Notes Due 2026 | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Debt instrument face value | | | $ 87,000 | | | | |
Exchange and extinguishment of debt amount | | | 37,000 | | | | |
Proceeds from long term debt | | | $ 47,500 | | | | |
Long term debt date of maturity | | | Apr. 01, 2026 | | | | |
Fair value of common stock issued | 4,600 | | | | | | |
Cash payment of debt | 703 | | | | | | |
Repayments of debt | 293 | | | | | | |
Payment of interest | 410 | | | | | | |
Gain (Loss) on extinguishment of debt | 727 | | $ 70,600 | | | | |
Senior Secured Notes Due 2026 | Lockheed Martin | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Gross proceeds from long-term debt | | | $ 50,000 | | | | |
Carrying amount of debt | 32,600 | | | | | | |
Cash payment of debt | 30,800 | | | | | | |
Repayments of debt | 25,000 | | | | | | |
Payment of interest | 5,800 | | | | | | |
Third-party expenses related to modification | 323 | | | | | | |
Gain (Loss) on extinguishment of debt | $ 1,800 | | | | | | |
Senior Secured Notes Due 2026 | Beach Point Rollover Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Long term debt fixed interest rate percentage | 11.25% | | | | | | |
Rollover Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Gain (Loss) on extinguishment of debt | $ 24,200 | | | | | | |
PIPE Investment Obligation | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Equity issuance costs | | | | | 259 | | |
Proceeds from issuance of common stock | | | | | 30,000 | | |
PIPE Investment Obligation | Proceeds From Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Proceeds from debt net of issuance costs | | | | | 13,000 | | |
PIPE Investment Obligation | Proceeds from PIPE Investment | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Proceeds from issuance of common stock | | | | | 17,000 | | |
PIPE Investment Obligation | Allocated to Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Issuance costs related to debt | | | | | 112 | | |
PIPE Investment Obligation | Allocated to Equity | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Equity issuance costs | | | | | $ 147 | | |
Amendment Agreement One | Senior Secured Notes Due 2026 | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Carrying amount of debt | 4,600 | | | | | | |
Francisco Partners Note Purchase Agreement | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Long term debt fixed interest rate percentage | | | | | 9.25% | | |
Francisco Partners Note Purchase Agreement | Senior Secured Notes | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Original issue discount | 5,000 | | | | | | |
Proceeds from debt net of issuance costs | 60,000 | | | | | | |
Reclassification of deferred debt commitment costs to discount on debt | 32,800 | $ 13,200 | | | | | |
Long term debt interest payable-in-kind | | | | | $ 1,000 | | $ 289 |
Francisco Partners Note Purchase Agreement | Senior Secured Notes | Delayed Draw Notes | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Reclassification of deferred debt commitments costs to deferred issuance costs | | 137 | | | | | |
Incremental deferred issuance costs | | 208 | | | | | |
Francisco Partners Note Purchase Agreement | Senior Secured Notes | Conditional Notes [Member] | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Reclassification of deferred debt commitments costs to deferred issuance costs | 509 | | | | | | |
Francisco Partners Note Purchase Agreement | Senior Secured Notes | Proceeds From Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Proceeds from debt net of issuance costs | 14,400 | 8,600 | | | | | |
Francisco Partners Note Purchase Agreement | Senior Secured Notes | Proceeds From Warrants And Derivative Liabilities | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Proceeds from debt net of issuance costs | 30,800 | 11,400 | | | | | |
Francisco Partners Note Purchase Agreement | Senior Secured Notes | Proceeds From Issuance of Common Stock | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Proceeds from issuance of common stock | 14,800 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendment One To Note Purchase Agreement | Conditional Notes [Member] | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Incremental issuance of costs | 851 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendment One To Note Purchase Agreement | Senior Secured Notes | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Debt instrument face value | | 24,000 | | | | | |
Commitment amount | $ 119,000 | 154,000 | | | | | |
Long term debt date of maturity | Apr. 01, 2026 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendment One To Note Purchase Agreement | Senior Secured Notes | Delayed Draw Notes | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Original issue discount | | 4,000 | | | | | |
Proceeds from debt net of issuance costs | | $ 20,000 | | | | | |
Francisco Partners Note Purchase Agreement | Amendment One To Note Purchase Agreement | Senior Secured Notes | Conditional Notes [Member] | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Proceeds from long term debt | $ 65,000 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendment One To Note Purchase Agreement | Senior Secured Notes | Allocated to Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Incremental issuance of costs | 641 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendment One To Note Purchase Agreement | Senior Secured Notes | Allocated to Equity | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Incremental issuance of costs | 210 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendement Two To Note Purchase Agreement | Quarter Ending Thirty First March Two Thousand And Twenty Two | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Unrestricted cash and cash equivalents needed to be maintained | 20,000 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendement Two To Note Purchase Agreement | Quarter Ending Thirtieth June Two Thousand And Twenty Two | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Unrestricted cash and cash equivalents needed to be maintained | 20,000 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendement Two To Note Purchase Agreement | Quarter Ending Thirtieth September Two Thousand And Twenty Two | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Unrestricted cash and cash equivalents needed to be maintained | 20,000 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendement Two To Note Purchase Agreement | Quarter Ending Thirty First December Two Thousand And Twenty Two | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Unrestricted cash and cash equivalents needed to be maintained | 10,000 | | | | | | |
Francisco Partners Note Purchase Agreement | Amendement Two To Note Purchase Agreement | Thereafter | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Unrestricted cash and cash equivalents needed to be maintained | $ 20,000 | | | | | | |
Percentage of unrestricted cash and cash equivalents to be maintanined additionally | 15% | | | | | | |
Francisco Partners Note Purchase Agreement | FP Combination Equity | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Shares issued as part of merger | 1.9 | | | | | | |
Amendment Agreement Two | Senior Secured Notes Due 2026 | Lockheed Martin Rollover Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Debt instrument face value | $ 25,000 | | | | | | |
Amendment Agreement Two | Senior Secured Notes Due 2026 | Beach Point Rollover Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Debt instrument face value | $ 31,300 | | | | | | |
Amendment Agreement Two | Senior Secured Notes Due 2026 | Payable In Cash | Beach Point Rollover Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Long term debt fixed interest rate percentage | 9.25% | | | | | | |
Amendment Agreement Two | Senior Secured Notes Due 2026 | Payable In Kind | Beach Point Rollover Debt | | | | | | | |
Debt Instrument [Line Items] | | | | | | | |
Long term debt fixed interest rate percentage | 2% | | | | | | |