Annual report pursuant to Section 13 and 15(d)

Related Party Transactions (Details)

v3.24.1
Related Party Transactions (Details)
12 Months Ended
Nov. 20, 2023
$ / shares
shares
Jun. 13, 2023
USD ($)
$ / shares
Apr. 19, 2023
USD ($)
qtr
$ / shares
shares
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
May 31, 2023
May 26, 2023
shares
Dec. 31, 2015
Related Party Transaction [Line Items]                
Owed to related party | $       $ 721,000 $ 1,563,000      
Common Stock                
Related Party Transaction [Line Items]                
Shelf registration, number of shares registered for resale (in shares) | shares             9,375,342  
RedCo II Master Fund, L.P.                
Related Party Transaction [Line Items]                
Shares with rights to sell, aggregate purchase price if sold | $   $ 5,000,000            
Shares with rights to sell, purchase price if sold (in dollars per share) | $ / shares   $ 1.60            
Related Party | Bangladesh                
Related Party Transaction [Line Items]                
Operating lease term           20 months    
Operating lease, rent expense | $       300,000 300,000      
Owed to related party | $       $ 8,000 4,000      
Related Party | Bangladesh Subsidiary | Bangladesh                
Related Party Transaction [Line Items]                
Operating lease term       5 years       10 years
Board of Directors Member | Redmile                
Related Party Transaction [Line Items]                
Transactions with related parties | $         $ 0      
Board of Directors Member | Redmile | Pre-funded Warrants, Securities Purchase Agreement                
Related Party Transaction [Line Items]                
Price per share subtracted from the purchase price of warrant (in dollars per share) | $ / shares     $ 0.0001          
Board of Directors Member | Redmile | Pre-funded Warrants, Securities Purchase Agreement | Maximum                
Related Party Transaction [Line Items]                
Warrants to purchase shares (in shares) | shares     3,125,195          
Board of Directors Member | Redmile | Breakeven Warrants, Securities Purchase Agreement                
Related Party Transaction [Line Items]                
Exercise price per warrant (in dollars per share) | $ / shares     $ 1.75          
Warrant, exercisable criteria, number of consecutive quarters out of three, if circumstances met | qtr     2          
Board of Directors Member | Redmile | Breakeven Warrants, Securities Purchase Agreement | Maximum                
Related Party Transaction [Line Items]                
Warrants to purchase shares (in shares) | shares     1,093,799          
Board of Directors Member | RedCo II Master Fund, L.P.                
Related Party Transaction [Line Items]                
Shares with rights to sell, purchase price if sold (in dollars per share) | $ / shares   $ 1.60            
Board of Directors Member | RedCo II Master Fund, L.P. | Maximum                
Related Party Transaction [Line Items]                
Shares with rights to sell, aggregate purchase price if sold | $   $ 5,000,000            
Board of Directors Member | RedCo II Master Fund, L.P. | ELOC Warrants                
Related Party Transaction [Line Items]                
Price per share subtracted from the purchase price of warrant (in dollars per share) | $ / shares   $ 0.0001            
Exercise price per warrant (in dollars per share) | $ / shares   $ 0.0001            
Board of Directors Member | Securities Purchase Agreement Offering | Redmile                
Related Party Transaction [Line Items]                
Sales of stock, consideration received | $     $ 7,000,000          
Sale of stock, number of shares issued (in shares) | shares     1,250,000          
Sale of stock, price per share (in dollars per share) | $ / shares     $ 1.60          
Board of Directors Member | Public Stock Offering | RedCo II Master Fund, L.P.                
Related Party Transaction [Line Items]                
Sale of stock, price per share (in dollars per share) | $ / shares $ 4.00              
Board of Directors Member | Public Stock Offering | RedCo II Master Fund, L.P. | Common Stock                
Related Party Transaction [Line Items]                
Sale of stock, number of shares issued (in shares) | shares 6,250,000              
Board of Directors Member | Over-Allotment Option | RedCo II Master Fund, L.P. | Common Stock                
Related Party Transaction [Line Items]                
Sale of stock, number of shares issued (in shares) | shares 937,500              
Board of Directors Member | Redmile | Common Stock                
Related Party Transaction [Line Items]                
Shelf registration, number of shares and warrants registered for resale (in shares) | shares             5,468,884  
Board of Directors Member | RedCo II Master Fund, L.P. | Public Stock Offering | Common Stock                
Related Party Transaction [Line Items]                
Stock purchased during period, shares | shares 750,000