XML 59 R49.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Notes Payable and Long-Term Debt - Term Debt - Narrative (Details) $ in Thousands |  |  |  |  |  |  |  |  | 6 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jun. 30, 2018 TWD ($) | Jun. 19, 2018 TWD ($) | Mar. 30, 2018 USD ($) | Sep. 28, 2017 USD ($) | Jun. 24, 2016 USD ($) | Jun. 14, 2016 USD ($) | Mar. 31, 2016 TWD ($) | May 27, 2015 TWD ($) | Jun. 30, 2018 USD ($) | Jun. 30, 2018 USD ($) | Dec. 31, 2017 USD ($) | Jun. 25, 2016 USD ($)
Repayments of outstanding balance |  |  |  | $ 11,200 |  |  |  |  | $ 93,953 |  |  |
Notes payable and long-term debt |  |  |  |  |  |  |  |  |  | $ 61,029 | $ 49,559 |
Unused borrowing capacity |  |  |  |  |  |  |  |  |  | 56,100 | 1,000 |
Restricted Cash |  |  |  |  |  |  |  |  |  | 1,753 | 1,012 |
One Month LIBOR Rate |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description | LIBOR Borrowing Rate plus 1.88% |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate | 2.09% |  |  |  |  |  |  |  |  |  |  |
Revolving Line of Credit 7 |  |  |  |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  | $ 300,000,000 |  |  |  |  |  |  |  |  |  |
Term of revolving credit facility |  | 1 year |  |  |  |  |  |  |  |  |  |
Notes payable and long-term debt | $ 0 |  |  |  |  |  |  |  |  |  |  |
Revolving Line of Credit 7 | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Draw term |  | 90 days |  |  |  |  |  |  |  |  |  |
Stated interest rate |  | 1.95% |  |  |  |  |  |  |  |  |  |
Revolving Line of Credit 7 | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Draw term |  | 120 days |  |  |  |  |  |  |  |  |  |
Stated interest rate |  | 2.00% |  |  |  |  |  |  |  |  |  |
Loan facilities |  |  |  |  |  |  |  |  |  |  |  |
Restricted Cash |  |  |  |  |  |  |  |  |  | 0 | 0 |
Investments |  |  |  |  |  |  |  |  |  | 0 | 0 |
Deposits |  |  |  |  |  |  |  |  |  | 0 | $ 0 |
East West Bank and Comerica Bank | London Interbank Offered Rate (LIBOR) | Modification Agreement |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description |  |  |  |  |  | LIBOR Borrowing Rate plus 2.0% |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 2.00% | 2.00% |  |  |  |  |  |
East West Bank and Comerica Bank | One Month LIBOR Rate | Modification Agreement |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description |  |  |  |  |  | one-month LIBOR Borrowing Rate plus 2.75% |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  |  | 2.75% |  |  |  |  |  |
East West Bank and Comerica Bank | First Amendment | London Interbank Offered Rate (LIBOR) | Modification Agreement |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description |  |  |  |  | LIBOR Borrowing Rate plus 2.0% |  |  |  |  |  |  |
East West Bank | Modification Agreement |  |  |  |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  | $ 22,000 |  |  |  |  |  |
Chailease Finance Co. Ltd. | Finance Lease 1 |  |  |  |  |  |  |  |  |  |  |  |
Lease purchase price |  |  |  |  |  |  |  | $ 180,148,532 |  |  |  |
Initial payment amount |  |  |  |  |  |  |  | $ 60,148,532 |  |  |  |
Financial lease term |  |  |  |  |  |  |  | 3 years |  |  |  |
Chailease Finance Co. Ltd. | Finance Lease 1 | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Lease payment range price |  |  |  |  |  |  |  | $ 3,322,413 |  |  |  |
Chailease Finance Co. Ltd. | Finance Lease 1 | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Lease payment range price |  |  |  |  |  |  |  | $ 3,784,000 |  |  |  |
Chailease Finance Co. Ltd. | Finance Lease 2 |  |  |  |  |  |  |  |  |  |  |  |
Lease purchase price |  |  |  |  |  |  | $ 312,927,180 |  |  |  |  |
Financial lease term |  |  |  |  |  |  | 3 years |  |  |  |  |
Financial lease Interest rate |  |  |  |  |  |  | 4.00% |  |  |  |  |
Chailease Finance Co. Ltd. | Finance Lease 2 | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Initial payment amount |  |  |  |  |  |  | $ 62,927,180 |  |  |  |  |
Lease payment range price |  |  |  |  |  |  | 6,772,500 |  |  |  |  |
Chailease Finance Co. Ltd. | Finance Lease 2 | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Lease payment range price |  |  |  |  |  |  | $ 7,788,333 |  |  |  |  |
Branch Banking and Trust Company | First Credit Facility |  |  |  |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  | $ 50,000 |  |  |  |  |  |  |  |
Term of revolving credit facility |  |  |  | 3 years |  |  |  |  |  |  |  |
Branch Banking and Trust Company | First Credit Facility | One Month LIBOR Rate |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 1.50% |  |  |  |  |  |  |  |
Branch Banking and Trust Company | Line of credit |  |  |  |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  | $ 60,000 |  |  |  |  |  |  |  |  |
Notes payable and long-term debt |  |  |  |  |  |  |  |  |  | 35,000 |  |
Branch Banking and Trust Company | Line of credit | One Month LIBOR Rate |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description |  |  | one-month LIBOR plus |  |  |  |  |  |  |  |  |
Branch Banking and Trust Company | Line of credit | One Month LIBOR Rate | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  | 1.40% |  |  |  |  |  |  |  |  |
Branch Banking and Trust Company | Line of credit | One Month LIBOR Rate | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  | 2.00% |  |  |  |  |  |  |  |  |
Revolving Line of Credit | East West Bank and Comerica Bank | First Amendment |  |  |  |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  | $ 25,000 |  |  |  |  |  |  | $ 40,000
Draw down period |  |  |  |  | 1 year |  |  |  |  |  |  |
Term of revolving credit facility |  |  |  |  | 5 years |  |  |  |  |  |  |
Revolving Line of Credit | East West Bank and Comerica Bank | First Amendment | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description |  |  |  |  |  | LIBOR Borrowing Rate plus 2.75% or 3.0% |  |  |  |  |  |
Revolving Line of Credit | East West Bank and Comerica Bank | First Amendment | London Interbank Offered Rate (LIBOR) | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 2.75% |  |  |  |  |  |  |
Revolving Line of Credit | East West Bank and Comerica Bank | First Amendment | London Interbank Offered Rate (LIBOR) | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 3.00% |  |  |  |  |  |  |
Term Loan | East West Bank and Comerica Bank | First Amendment |  |  |  |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  | $ 10,000 |  |  |  |  |  |  |
Term Loan | Branch Banking and Trust Company |  |  |  |  |  |  |  |  |  |  |  |
Notes payable and long-term debt |  |  |  |  |  |  |  |  |  | 21,100 |  |
Term Loan | Branch Banking and Trust Company | One Month LIBOR Rate |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description |  |  | one-month LIBOR plus |  |  |  |  |  |  |  |  |
Term Loan | Branch Banking and Trust Company | One Month LIBOR Rate | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  | 1.15% |  |  |  |  |  |  |  |  |
Term Loan | Branch Banking and Trust Company | One Month LIBOR Rate | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  | 2.00% |  |  |  |  |  |  |  |  |
Equipment Term Loan | East West Bank and Comerica Bank | First Amendment |  |  |  |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  | $ 10,000 |  |  |  |  |  |  |
Capital expenditure loan | Branch Banking and Trust Company |  |  |  |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  | $ 26,000 |  |  |  |  |  |  |  |  |
Term of revolving credit facility |  |  | 5 years |  |  |  |  |  |  |  |  |
Notes payable and long-term debt |  |  |  |  |  |  |  |  |  | $ 4,900 |  |
Capital expenditure loan | Branch Banking and Trust Company | One Month LIBOR Rate |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description |  |  | one-month LIBOR plus |  |  |  |  |  |  |  |  |
Capital expenditure loan | Branch Banking and Trust Company | One Month LIBOR Rate | Minimum |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  | 1.30% |  |  |  |  |  |  |  |  |
Capital expenditure loan | Branch Banking and Trust Company | One Month LIBOR Rate | Maximum |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  | 2.00% |  |  |  |  |  |  |  |  |
Real estate term loan | Branch Banking and Trust Company |  |  |  |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  | $ 21,500 |  |  |  |  |  |  |  |  |
Term of revolving credit facility |  |  | 70 months |  |  |  |  |  |  |  |  |

X
- Definition Represents the drawdown period. + References No definition available. + Details
Name: | aaoi_DrawDownPeriod
Namespace Prefix: | aaoi_
Data Type: | us-types:durationStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the term of finance lease. + References No definition available. + Details
Name: | aaoi_FinanceLeaseTermOfContract
Namespace Prefix: | aaoi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the amount of initial payment made on sale and lease back transaction. + References No definition available. + Details
Name: | aaoi_SaleLeasebackTransactionInitialPaymentMade
Namespace Prefix: | aaoi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Period of time between the draw on the debt instrument and the repayment. + References No definition available. + Details
Name: | aaoi_TermOfDrawOne
Namespace Prefix: | aaoi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentDescriptionOfVariableRateBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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/presentationRef -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=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unused borrowing capacity under the long-term financing arrangement that is available to the entity as of the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentUnusedBorrowingCapacityAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.12) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_Deposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sum of the carrying amounts as of the balance sheet date of all investments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.1(h)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_Investments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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://www.xbrl.org/2003/role/presentationRef -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=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3291-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(f)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_RepaymentsOfLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3044-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(1)(a)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(2)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_RestrictedCash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The financing cost related to leases that have been recorded under the deposit method, as a financing or as a capital leases in connection with the transaction involving the sale of property to another party and the lease of the property back to the seller. + References No definition available. + Details
Name: | us-gaap_SaleLeasebackTransactionImputedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the monthly rental payments due under the lease entered into in connection with the transactions involving the sale of property to another party and the lease of the property back to the seller. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 40 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=77913982&loc=d3e50796-112755 + Details
Name: | us-gaap_SaleLeasebackTransactionMonthlyRentalPayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow after closing and debt issuance costs received by a seller-lessee in a sale-leaseback recognized in investing activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 40 -Section 55 -Paragraph 52 -URI http://asc.fasb.org/extlink&oid=82846721&loc=d3e51843-112757 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 40 -Section 55 -Paragraph 50 -URI http://asc.fasb.org/extlink&oid=82846721&loc=d3e51831-112757 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 40 -Section 55 -Paragraph 51 -URI http://asc.fasb.org/extlink&oid=82846721&loc=d3e51840-112757 + Details
Name: | us-gaap_SaleLeasebackTransactionNetProceedsInvestingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_EastWestAndComericaMember
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_LongtermDebtTypeAxis=aaoi_ModificationAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_EastWestBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_ChaileaseFinanceCoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_BranchBankingAndTrustCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

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