v3.8.0.1

Stockholders' Equity (Details 2) shares in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 $ / shares shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Number of Warrants | 478
Warrants Exercisable, Average Remaining Life In Years | 2 years 4 months 24 days
Warrants Exercisable, Number of Warrants | 478
Exercise Price Ranage 4.0 - 21.80 [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Number of Warrants | 233
Warrants Exercisable, Average Remaining Life In Years | 4 years 1 month 6 days
Warrants Exercisable, Number of Warrants | 233
Exercise Price Ranage 4.0 - 21.80 [Member] | Minimum [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Exercise Price | $ / shares | $ 4.0
Exercise Price Ranage 4.0 - 21.80 [Member] | Maximum [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Exercise Price | $ / shares | $ 21.80
Exercise Price Ranage 40.00 - 49.99 [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Number of Warrants | 98
Warrants Exercisable, Average Remaining Life In Years | 6 months
Warrants Exercisable, Number of Warrants | 98
Exercise Price Ranage 40.00 - 49.99 [Member] | Minimum [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Exercise Price | $ / shares | $ 40.00
Exercise Price Ranage 40.00 - 49.99 [Member] | Maximum [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Exercise Price | $ / shares | $ 49.99
Exercise Price Range 50.00 - 59.90 [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Number of Warrants | 104
Warrants Exercisable, Average Remaining Life In Years | 10 months 24 days
Warrants Exercisable, Number of Warrants | 104
Exercise Price Range 50.00 - 59.90 [Member] | Minimum [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Exercise Price | $ / shares | $ 50.00
Exercise Price Range 50.00 - 59.90 [Member] | Maximum [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Exercise Price | $ / shares | $ 59.90
Exercise Price Range 60.00 - 105.00 [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Number of Warrants | 43
Warrants Exercisable, Average Remaining Life In Years | 1 year 3 months 18 days
Warrants Exercisable, Number of Warrants | 43
Exercise Price Range 60.00 - 105.00 [Member] | Minimum [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Exercise Price | $ / shares | $ 60.00
Exercise Price Range 60.00 - 105.00 [Member] | Maximum [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Warrants Outstanding, Exercise Price | $ / shares | $ 105

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied. + 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)(iii) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices. + 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)-(ii) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The weighted average price as of the balance sheet date at which grantees could acquire the underlying shares with respect to all outstanding stock options which are in the customized range of exercise prices. + 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)-(ii) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + 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)(1) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis=alqa_ExercisePriceRangeOneMember
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_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis=alqa_ExercisePriceRanageTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis=alqa_ExercisePriceRangeThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis=alqa_ExercisePriceRangeFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |