v2.4.0.8

M. Share-Based Compensation (Details-Minimum and Maximum) (Employee Stock Option [Member], USD $) | 12 Months Ended
--- | ---
Dec. 31, 2013 | Dec. 31, 2012 | Dec. 31, 2011
Exercise Price |  |  |
Outstanding, beginning balance | $ 5.936 | $ 5.877 | $ 5.838
Granted | $ 9.214 | $ 6.000 | $ 6.000
Exercised | $ 5.875 | $ 6.291 | $ 6.000
Forfeited | $ 7.099 | $ 6.000 | $ 6.000
Expired | $ 5.986 | $ 5.301 | $ 5.973
Outstanding, ending balance | $ 8.379 | $ 5.936 | $ 5.877
Exericsable, ending balance | $ 5.915 |  |
Vested and expected to vest | $ 8.287 |  |
Minimum |  |  |
Exercise Price |  |  |
Outstanding, beginning balance | $ 3.00 | $ 3.00 | $ 3.00
Granted | $ 7.50 |  |
Exercised | $ 4.50 | $ 6.00 | $ 3.00
Forfeited | $ 3.00 |  |
Expired | $ 3.00 | $ 3.00 | $ 4.50
Outstanding, ending balance | $ 3.00 | $ 3.00 | $ 3.00
Exericsable, ending balance | $ 3.00 |  |
Vested and expected to vest | $ 3.00 |  |
Maximum |  |  |
Exercise Price |  |  |
Outstanding, beginning balance | $ 7.50 | $ 7.50 | $ 7.50
Granted | $ 12.90 | $ 6.00 | $ 6.00
Exercised | $ 6.00 | $ 7.50 | $ 6.00
Forfeited | $ 7.50 | $ 6.00 | $ 6.00
Expired | $ 7.50 | $ 7.50 | $ 6.00
Outstanding, ending balance | $ 12.90 | $ 7.50 | $ 7.50
Exericsable, ending balance | $ 7.50 |  |
Vested and expected to vest | $ 12.90 |  |

X
- Details
Name: | AAOI_ExercisePrice
Namespace Prefix: | AAOI_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition As of the balance sheet date, the weighted-average exercise price (at which grantees can acquire the shares reserved for issuance) for exercisable stock options that are fully vested or expected to vest. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (e)(2) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average price at which option holders acquired shares when converting their stock options into shares. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration