v2.4.0.8

G. Fair Value of Financial Instruments (Details-Summary) (USD $) In Thousands, unless otherwise specified | Dec. 31, 2013 | Dec. 31, 2012
--- | --- | ---
Assets: |  |
Cash and cash equivalents | $ 22,006 | $ 10,723
Restricted cash | 775 | 503
Short term investments | 7,970 | 1,034
Total assets | 30,751 | 12,260
Liabilities: |  |
Interest rate swap |  | 11
Bank acceptance payable | 2,347 | 1,521
Total liabilities | 2,347 | 1,532
Fair Value, Inputs, Level 1 [Member] |  |
Assets: |  |
Cash and cash equivalents | 22,006 | 10,723
Restricted cash | 775 | 503
Short term investments | 7,970 | 0
Total assets | 30,751 | 11,226
Liabilities: |  |
Interest rate swap |  | 0
Bank acceptance payable | 0 | 0
Total liabilities | 0 | 0
Fair Value, Inputs, Level 2 [Member] |  |
Assets: |  |
Cash and cash equivalents | 0 | 0
Restricted cash | 0 | 0
Short term investments | 0 | 1,034
Total assets | 0 | 1,034
Liabilities: |  |
Interest rate swap |  | 11
Bank acceptance payable | 2,347 | 1,521
Total liabilities | 2,347 | 1,532
Fair Value, Inputs, Level 3 [Member] |  |
Assets: |  |
Cash and cash equivalents | 0 | 0
Restricted cash | 0 | 0
Short term investments | 0 | 0
Total assets | 0 | 0
Liabilities: |  |
Interest rate swap |  | 0
Bank acceptance payable | 0 | 0
Total liabilities | $ 0 | $ 0

X
- Definition Restricted cash fair value disclosure + References No definition available. + Details
Name: | AAOI_RestrictedCashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | AAOI_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_AssetsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount as of the balance sheet date of drafts and bills of exchange that have been accepted by the reporting bank, or by others for its own account, as its liability to holders of the drafts. + 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.14) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 14 -Article 9 + Details
Name: | us-gaap_BankAcceptancesExecutedAndOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of the hedged item as of the balance sheet date related to the derivative. For example, the hedged balance on a debt instrument. + References No definition available. + Details
Name: | us-gaap_DerivativeAmountOfHedgedItem
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Available-for-Sale Securities -URI http://asc.fasb.org/extlink&oid=6505594 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Trading Securities -URI http://asc.fasb.org/extlink&oid=6526789 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 1 -Subparagraph a, f, g -Article 7 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 35 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=27723805&loc=d3e24584-111560 + Details
Name: | us-gaap_InvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_LiabilitiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of financial and nonfinancial obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258 + Details
Name: | us-gaap_LiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant