Debt - Additional Information (Details) $ in Thousands, ¥ in Millions | Apr. 16, 2015USD ($) | Feb. 25, 2015JPY (¥) | Feb. 25, 2015USD ($) | Jan. 02, 2015USD ($) | Aug. 31, 2016CNY (¥) | Sep. 30, 2015CNY (¥) | Jun. 30, 2015CNY (¥) | May 31, 2015USD ($) | Apr. 30, 2015USD ($) | Feb. 28, 2015JPY (¥) | Feb. 28, 2015USD ($) | Jan. 31, 2015USD ($) | Jun. 30, 2016USD ($) | Jun. 30, 2015USD ($) | Aug. 31, 2016USD ($) | Jun. 30, 2016JPY (¥) | Jun. 30, 2016USD ($) | Dec. 31, 2015JPY (¥) | Dec. 31, 2015USD ($) | Sep. 30, 2015USD ($) | Jun. 30, 2015USD ($) | Feb. 25, 2015USD ($) |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Repayment of notes payable | | | | | | | | | | | | | $ 9,283 | $ 11,756 | | | | | | | | |
Comerica [Member] | Revolving Credit Facility [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Short-term line of credit facility | | | | | | | | | | | | | | | | | $ 23,800 | | | | | |
Mitsubishi Bank [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Short-term line of credit facility | | | | | | | | | | | | | | | | ¥ 1,300,000,000 | 13,100 | ¥ 1,400,000,000 | $ 11,500 | | | |
Unamortized debt issuance costs | | | | | | | | | | | | | | | | ¥ 25,800,000 | $ 300 | ¥ 30,100,000 | 300 | | | |
Tunable Laser Product Lines From EMCORE Corporation [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Issuance of notes to the seller of acquired business | $ 15,482 | | | $ 16,000 | | | | | | | | | | | | | | | | | | |
Debt Instrument, Term | | | | | | | | | | | | 2 years | | | | | | | | | | |
Libor Plus Rate [Member] | Comerica [Member] | Revolving Credit Facility [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Short-term line of credit facility | | | | | | | | | | | | | | | | | | | 23,800 | | | |
Line of credit facility, interest rate | | | | | | | | | | | | | | | | 3.22% | 3.22% | | | | | |
First Year [Member] | Tunable Laser Product Lines From EMCORE Corporation [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Note payable, interest rate | | | | | | | | | | | | 5.00% | | | | | | | | | | |
Second Year [Member] | Tunable Laser Product Lines From EMCORE Corporation [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Note payable, interest rate | | | | | | | | | | | | 13.00% | | | | | | | | | | |
First Credit Facility Expires June 2016 [Member] | China | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Percentage of compensating balance requirement for bank acceptance drafts | | | | | | | 30.00% | | | | | | | | | | | | | | | |
Second Credit Facility Expires September 2016 [Member] | China | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Percentage of compensating balance requirement for bank acceptance drafts | | | | | | 30.00% | | | | | | | | | | | | | | | | |
First Short-Term Advance Financing Agreement Expires April 2015 [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt repaid | | | | | | | | | $ 5,000 | | | | | | | | | | | | | |
Interest rate | | | | | | | | | 4.02% | | | | | | | | | | | | | |
First Short-Term Advance Financing Agreement Expires April 2015 [Member] | China | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Short-term line of credit facility | | | | | | | | | | | | | | | | | | | | $ 5,000 | | |
First Short-Term Advance Financing Agreement Expires April 2015 [Member] | China | Libor Plus Rate [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | 3.30% | | | | | | | | | | | | | | | | |
Obligation bear variable interest | | | | | | 3.71% | | | | | | | | | | | | | | 3.71% | | |
Second Short-Term Advance Financing Agreement Expires May 2015 [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt repaid | | | | | | | | $ 5,000 | | | | | | | | | | | | | | |
Interest rate | | | | | | | | 2.33% | | | | | | | | | | | | | | |
Service fees interest percentage | | | | | | | | 1.00% | | | | | | | | | | | | | | |
Term Loan B [Member] | Mitsubishi Bank [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt, aggregate principal amount | | ¥ 1,000,000,000 | | | | | | | | | | | | | | | | | | | | $ 8,400 |
Debt, periodic principal payments | ¥ | | 8,333,000 | | | | | | | | | | | | | | | | | | | | |
Debt, lump sum payment on the maturity date | ¥ | | 8,373,000 | | | | | | | | | | | | | | | | | | | | |
Loan structuring fee including consumption tax | | ¥ 40,500,000 | $ 300 | | | | | | | | | | | | | | | | | | | |
Term Loan B [Member] | Tunable Laser Product Lines From EMCORE Corporation [Member] | Mitsubishi Bank [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Issuance of notes to the seller of acquired business | | | | | | | | | | | | $ 15,500 | | | | | | | | | | |
Term Loan B [Member] | Tokyo Interbank Offer Rate [Member] | Mitsubishi Bank [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | 1.40% | 1.40% | | | | | | | | | | | | | | | | | | | |
Senior Secured Revolving Credit Facility Expires November 2016 [Member] | Comerica [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | | | | | | | | | | $ 30,000 | | | | | |
Senior Secured Revolving Credit Facility Expires November 2016 [Member] | Libor Plus Rate [Member] | Comerica [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | | | | | | | | 2.75% | | | | | | | | | |
Senior Secured Revolving Credit Facility Expires November 2016 [Member] | Credit Facility Base Rate [Member] | Comerica [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | | | | | | | | 1.75% | | | | | | | | | |
Senior Secured Revolving Credit Facility Expires November 2016 [Member] | Federal Funds Effective Rate [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | | | | | | | | 1.00% | | | | | | | | | |
Senior Secured Revolving Credit Facility Expires November 2016 [Member] | Daily Adjusting LIBOR Rate [member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | | | | | | | | 1.00% | | | | | | | | | |
Term Loan A [Member] | Mitsubishi Bank [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt, aggregate principal amount | | ¥ 500,000,000 | | | | | | | | | | | | | | | | | | | | $ 4,200 |
Term Loan A [Member] | Tokyo Interbank Offer Rate [Member] | Mitsubishi Bank [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | 1.40% | 1.40% | | | | | | | | | | | | | | | | | | | |
Loans Payable | First Credit Facility Expires June 2016 [Member] | China | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | ¥ 120 | | | | | | | | | | | | | | $ 18,100 | |
Loans Payable | Second Credit Facility Expires September 2016 [Member] | China | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Short-term line of credit facility | | | | | | ¥ 133 | | | | | | | | | | | | | | $ 20,000 | | |
Notes Payable | NeoPhotonics Semiconductor [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Repayment of notes payable | | | | | | | | | | ¥ 710,000,000 | $ 6,000 | | | | | | | | | | | |
Bankers Acceptance | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Restricted cash and investments, current | | | | | | | | | | | | | | | | | 2,600 | | 2,700 | | | |
Bankers Acceptance | China | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Short-term line of credit facility | | | | | | | | | | | | | | | | | $ 8,600 | | $ 8,900 | | | |
Bankers Acceptance | China | Minimum [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Term | | | | | | | | | | | | | 3 months | | | | | | | | | |
Bankers Acceptance | China | Maximum [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Term | | | | | | | | | | | | | 6 months | | | | | | | | | |
Bankers Acceptance | First Credit Facility Expires June 2016 [Member] | China | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | ¥ 171.4 | | | | | | | | | | | | | | $ 25,800 | |
Bankers Acceptance | Second Credit Facility Expires September 2016 [Member] | China | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Short-term line of credit facility | | | | | | ¥ 190 | | | | | | | | | | | | | | $ 28,600 | | |
Subsequent Event [Member] | Bankers Acceptance | Third Credit Facility Expires July 2019 [Member] | China | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Percentage of compensating balance requirement for bank acceptance drafts | | | | | 30.00% | | | | | | | | | | | | | | | | | |
Subsequent Event [Member] | China | Loans Payable | Third Credit Facility Expires July 2019 [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | ¥ 30 | | | | | | | | | | $ 4,500 | | | | | | | |
Subsequent Event [Member] | China | Bank Overdrafts | Third Credit Facility Expires July 2019 [Member] | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | ¥ 42.9 | | | | | | | | | | $ 6,500 | | | | | | | |