v3.8.0.1

Discontinued Operations (Details 1) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016
Proceeds from sale |  |
Consideration for inventory | $ 112 | $ 603
Consideration for intangible assets | 3,600 | 3,500
Total Consideration | 3,712 | 4,103
Less: Net book value of assets sold |  |
Inventory, net | (307) | (603)
Intangibles, net | (1,709) | (189)
Total net book value of assets | (2,016) | (792)
Gain on sale of assets | $ 1,696 | $ 3,311

X
- Definition Disposal Group, Including Discontinued Operation, Assets Inventory and Intangible Assets + References No definition available. + Details
Name: | alqa_DisposalGroupIncludingDiscontinuedOperationAssetsInventoryAndIntangibleAssets
Namespace Prefix: | alqa_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash inflow from disposal of inventory with physical form usually arising from contractual or other legal rights. + References No definition available. + Details
Name: | alqa_ProccedFromSaleOfInventory
Namespace Prefix: | alqa_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from disposal of inventory and intangible assets. + References No definition available. + Details
Name: | alqa_ProceedsFromSaleOfInventoryAndIntangibleAssets
Namespace Prefix: | alqa_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after tax of gain (loss) not previously recognized resulting from the disposal of a discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=64827811&loc=d3e1361-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=65878427&loc=SL51721525-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=64827811&loc=SL51721675-107760 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=65878427&loc=d3e957-107759 + Details
Name: | us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount classified as intangible assets, excluding goodwill, attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=65878427&loc=SL51721533-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=64827811&loc=SL51721673-107760 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=68055307&loc=d3e2473-110228 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=65878427&loc=d3e1107-107759 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=84176398&loc=d3e2941-110230 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as inventory attributable to disposal group, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=68055307&loc=d3e2473-110228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=65878427&loc=d3e1107-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=65878427&loc=SL51721533-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=64827811&loc=SL51721673-107760 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=84176398&loc=d3e2941-110230 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationInventoryCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash inflow from disposal of asset without physical form usually arising from contractual or other legal rights, excluding goodwill. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfIntangibleAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_ProceedsFromSaleOfProductiveAssetsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_SaleLeasebackTransactionNetBookValueAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration