XML 92 R57.htm IDEA: XBRL DOCUMENT v3.21.2
Debt - Notes Payable and Short-term Borrowing  (Details)
6 Months Ended
Jun. 30, 2021
USD ($)
Jun. 17, 2021
CNY (¥)
Jun. 17, 2021
USD ($)
Dec. 31, 2020
USD ($)
Notes payable | China | Minimum        
Debt Instrument [Line Items]        
Debt instrument, term 3 months      
Notes payable | China | Maximum        
Debt Instrument [Line Items]        
Debt instrument, term 6 months      
Bankers acceptance        
Debt Instrument [Line Items]        
Restricted cash and investments, current $ 0     $ 0
Bankers acceptance | Subsidiaries        
Debt Instrument [Line Items]        
Outstanding balance of line of credit facilities $ 0     $ 0
Credit Line Agreement | Notes payable | China | Subsidiaries | NeoPhotonics China        
Debt Instrument [Line Items]        
Credit facility, maximum borrowing amount   ¥ 120,000,000 $ 18,600,000  
Credit Line Agreement | Notes payable | China | Subsidiaries | NeoPhotonics Donggua        
Debt Instrument [Line Items]        
Credit facility, maximum borrowing amount   ¥ 30,000,000 $ 4,600,000