XML 77 R67.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Note K - Notes Payable and Long-term Debt - Schedule of Notes Payable and Long-term Debt (Details) (Parentheticals) - USD ($) |  |  | 12 Months Ended |  |
--- | --- | --- | --- | --- | ---
Dec. 29, 2021 | Apr. 05, 2021 | Dec. 31, 2021 | Dec. 31, 2020 | Sep. 30, 2019 | Mar. 05, 2019
Chailease Finance Co, Ltd. [Member] | Promissory Note [Member] |  |  |  |  |  |
Long-term debt, maturity date |  |  | Jan. 21, 2022 | Jan. 21, 2022 |  |
Long-term debt, interest |  |  | 3.50% | 3.50% |  |
Chailease Finance Co, Ltd. [Member] | Promissory Note 2 [Member] |  |  |  |  |  |
Long-term debt, maturity date |  |  | Jan. 21, 2022 | Jan. 21, 2022 |  |
Long-term debt, interest |  |  | 3.10% | 3.10% |  |
Paycheck Protection Program, CARES Act [Member] |  |  |  |  |  |
Long-term debt, maturity date |  |  | Apr. 16, 2022 | Apr. 16, 2022 |  |
Long-term debt, interest |  |  | 1.00% | 1.00% |  |
Truist Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |
Long-term debt, maximum | $ 20,000,000 | $ 20,000,000 |  |  | $ 20,000,000 | $ 25,000,000
Truist Bank [Member] | Revolving Credit Facility [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |
Long-term debt, interest |  | 1.50% |  |  |  |
Truist Bank [Member] | Revolving Credit Facility [Member] | Secured Overnight Financing Rate (SOFR) [Member] |  |  |  |  |  |
Long-term debt, interest | 1.56% |  |  |  |  |
Truist Bank [Member] | Revolving Credit Facility [Member] | Fouth Amendment to Loan Agreement with Truist Bank [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |
Long-term debt, maximum |  |  | $ 20,000,000 | $ 20,000,000 |  |
Long-term debt, interest |  |  | 1.50% | 1.50% |  |
Long-term debt, maturity date |  |  | Apr. 02, 2021 | Apr. 02, 2021 |  |
Truist Bank [Member] | Revolving Credit Facility [Member] | Sixth Amendment to Loan Agreement with Truist Bank [Member] | Secured Overnight Financing Rate (SOFR) [Member] |  |  |  |  |  |
Long-term debt, maximum |  |  | $ 20,000,000 | $ 20,000,000 |  |
Long-term debt, interest |  |  | 1.56% | 1.56% |  |
Long-term debt, maturity date |  |  | Apr. 15, 2023 | Apr. 15, 2023 |  |
Taishin International Bank [Member] | Revolving Credit Facility [Member] | Credit Facility [Member] |  |  |  |  |  |
Long-term debt, maximum |  |  | $ 3,436,000 | $ 3,436,000 |  |
Long-term debt, maturity date |  |  | Jan. 31, 2021 | Jan. 31, 2021 |  |
Long-term debt, interest |  |  | 2.20% | 2.20% |  |
China Merchants Bank Co, Ltd [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |
Long-term debt, maximum |  |  | $ 8,917,000 | $ 8,917,000 |  |
Long-term debt, maturity date |  |  | Oct. 15, 2021 | Oct. 15, 2021 |  |
Long-term debt, interest |  |  | 4.50% | 4.50% |  |
SPD Bank [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |
Long-term debt, maximum |  |  | $ 25,449,000 | $ 25,449,000 |  |
Long-term debt, maturity date |  |  | May 24, 2024 | May 24, 2024 |  |
SPD Bank [Member] | Revolving Credit Facility [Member] | Minimum [Member] |  |  |  |  |  |
Long-term debt, interest |  |  | 3.01% | 3.01% |  |
SPD Bank [Member] | Revolving Credit Facility [Member] | Maximum [Member] |  |  |  |  |  |
Long-term debt, interest |  |  | 4.57% | 4.57% |  |
China Zheshang Bank Co., Ltd [Member] | Revolving Credit Facility [Member] | The ¥100M Credit Facility [Member] |  |  |  |  |  |
Long-term debt, maximum |  |  | $ 14,125,000 |  |  |
Long-term debt, maturity date |  |  | Jan. 01, 2024 |  |  |
Long-term debt, interest |  |  | 3.50% |  |  |
China Zheshang Bank Co., Ltd [Member] | Revolving Credit Facility [Member] | The ¥50M Credit Facility [Member] |  |  |  |  |  |
Long-term debt, maximum |  |  | $ 7,167,000 | $ 7,167,000 |  |
Long-term debt, maturity date |  |  | Jun. 20, 2022 | Jun. 20, 2022 |  |
Long-term debt, interest |  |  | 5.70% | 5.70% |  |

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | srt_CounterpartyNameAxis=aaoi_ChaileaseFinanceCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=aaoi_PromissoryNoteMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=aaoi_PromissoryNote2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=aaoi_PaycheckProtectionProgramCARESActMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=aaoi_TruistBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=aaoi_SecuredOvernightFinancingRateSOFRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=aaoi_FouthAmendmentToLoanAgreementWithTruistBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=aaoi_SixthAmendmentToLoanAgreementWithTruistBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=aaoi_TaishinInternationalBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=aaoi_CreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=aaoi_ChinaMerchantsBankCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=aaoi_SPDBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=aaoi_ChinaZheshangBankCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=aaoi_The100MCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=aaoi_The50MCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |