Quarterly report pursuant to Section 13 or 15(d)

Description of the Business (Details)

v3.22.2.2
Description of the Business (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended 27 Months Ended
Sep. 02, 2021
USD ($)
shares
Sep. 01, 2021
$ / shares
shares
Jun. 30, 2022
USD ($)
$ / shares
shares
Jun. 30, 2021
USD ($)
Jun. 30, 2022
USD ($)
$ / shares
shares
Jun. 30, 2021
USD ($)
Jun. 30, 2022
acquisition
$ / shares
shares
Apr. 14, 2022
USD ($)
Dec. 31, 2021
$ / shares
shares
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Number of businesses acquired | acquisition             8    
Proceeds from the merger | $ $ 110,600                
Interest expense on debt | $     $ 1,669 $ 1,780 $ 3,121 $ 3,190      
Merger transaction costs | $ 38,700                
Shares from transaction (in shares)   600,000,000              
Common stock authorized (in shares)   500,000,000 500,000,000   500,000,000   500,000,000   500,000,000
Common stock, par value (in dollars per share) | $ / shares   $ 0.0001 $ 0.0001   $ 0.0001   $ 0.0001   $ 0.0001
Preferred stock authorized (in shares)   100,000,000 100,000,000   100,000,000   100,000,000   100,000,000
Aggregate gross proceeds | $ $ 75,000                
Units outstanding (in shares) 59,661,273   63,253,836   63,253,836   63,253,836   62,690,869
SVB Loan | Notes Payable to Banks                  
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Debt repayment | $ $ 41,600                
Interest expense on debt | $ $ 100                
Cosmos Intermediate, LLC                  
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Shares of common stock to receive (in shares) 37,200,000                
Warrants outstanding (in shares) 2,000,000                
Number of warrants to purchase common stock (in shares) 1                
Genesis Park Acquisition Corp                  
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Units outstanding (in shares) 13,961,273                
Committed Equity Facility                  
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Shares from transaction (in shares) 8,500,000   310,815   310,815   127,751    
Sale of stock, amount authorized to issue and sell | $               $ 80,000  
Cosmos Intermediate, LLC                  
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Units sold (in shares) 100                
Units outstanding (in shares)   37,200,000              
Cosmos Intermediate, LLC | Genesis Park Acquisition Corp                  
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Units issued (in shares)   100              
Exchange ratio   372,000              
Cosmos Intermediate, LLC | Cosmos Parent, LLC                  
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Ownership interest         100.00%        
Cosmos Finance, LLC | Cosmos Intermediate, LLC                  
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Ownership interest         100.00%        
Cosmos Acquisition, LLC | Cosmos Finance, LLC                  
Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]                  
Ownership interest         100.00%