Subsequent Events (Details)
$ in Millions
3 Months Ended
Sep. 13, 2023
USD ($)
Sep. 05, 2023
USD ($)
Aug. 30, 2023
Jul. 29, 2023
USD ($)
Subsequent Event [Line Items]        
Restructuring and related reorganization charges       $ 4.7
Cost Of Revenue        
Subsequent Event [Line Items]        
Restructuring and related reorganization charges       2.7
Selling, General and Administrative Expenses        
Subsequent Event [Line Items]        
Restructuring and related reorganization charges       $ 2.0
Subsequent Event | Asset-Based Term Loan Agreement | Secured Debt | Line of Credit        
Subsequent Event [Line Items]        
Maximum borrowing capacity   $ 65.0    
Proceeds from term loans   $ 32.5    
Subsequent Event | Asset-Based Term Loan Agreement | Secured Debt | Line of Credit | Forecast        
Subsequent Event [Line Items]        
Proceeds from term loans $ 32.5      
Subsequent Event | Asset-Based Term Loan Agreement | Secured Debt | Secured Overnight Financing Rate (SOFR) | Line of Credit        
Subsequent Event [Line Items]        
Debt instrument, basis spread on variable rate   10.00%    
Subsequent Event | Common Stock        
Subsequent Event [Line Items]        
Reverse stock split, conversion ratio     0.05