|
Debt (Details Textual) (USD $)
|
1 Months Ended | 12 Months Ended | 78 Months Ended | 0 Months Ended | 12 Months Ended | 1 Months Ended | 12 Months Ended | 12 Months Ended | 1 Months Ended | 12 Months Ended | 1 Months Ended | 12 Months Ended | 0 Months Ended | 12 Months Ended | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Aug. 31, 2012
|
Sep. 30, 2010
|
Dec. 31, 2012
|
Dec. 31, 2011
|
Dec. 31, 2010
|
Dec. 31, 2012
|
Aug. 16, 2012
|
Jan. 07, 2011
Asphelia Asset Purchase [Member]
|
Dec. 31, 2010
Series A [Member]
|
Dec. 31, 2012
Warrants [Member]
|
Dec. 31, 2011
Warrants [Member]
|
Dec. 31, 2010
Warrants [Member]
|
Aug. 31, 2012
Hercules debt agreement [Member]
|
Dec. 31, 2012
Hercules debt agreement [Member]
Installment
|
Dec. 31, 2012
Hercules debt agreement [Member]
Estimate of fair value, fair value disclosure [Member]
|
Dec. 31, 2012
Hercules debt agreement [Member]
Warrants [Member]
|
Feb. 28, 2010
Related Party Notes [Member]
|
Jan. 31, 2010
Related Party Notes [Member]
|
Jul. 31, 2009
Related Party Notes [Member]
|
Sep. 30, 2008
Related Party Notes [Member]
|
Dec. 31, 2012
Related Party Notes [Member]
|
Dec. 31, 2010
Related Party Notes [Member]
|
Jan. 31, 2010
Related Party Notes [Member]
Series A Common Stock [Member]
|
Dec. 31, 2012
Related Party Notes [Member]
Series A Common Stock [Member]
|
Dec. 31, 2012
Related Party Notes [Member]
Individual stockholder and Trust [Member]
|
Dec. 31, 2012
Related Party Notes [Member]
Stockholders Family Members [Member]
|
Dec. 31, 2012
Related Party Notes [Member]
Payable to PBS [Member]
|
Dec. 31, 2009
PCP Promissory Notes [Member]
|
Dec. 31, 2010
PCP Promissory Notes [Member]
|
Jan. 07, 2011
PCP Promissory Notes [Member]
Asphelia Asset Purchase [Member]
|
Dec. 31, 2009
PCP Promissory Notes [Member]
Warrants [Member]
|
Dec. 31, 2012
2008 Senior Convertible Notes [Member]
|
Dec. 31, 2008
2008 Senior Convertible Notes [Member]
|
Dec. 31, 2009
2009 Senior Convertible Notes [Member]
|
Dec. 31, 2012
Senior Convertible Notes [Member]
|
Dec. 31, 2010
Senior Convertible Notes [Member]
|
Dec. 31, 2010
Senior Convertible Notes [Member]
Series A [Member]
|
|
| Debt (Textual) [Abstract] | |||||||||||||||||||||||||||||||||||||
| Term loan | $ 15,000,000 | ||||||||||||||||||||||||||||||||||||
| Received net proceeds | 14,700,000 | 570,000 | 750,000 | ||||||||||||||||||||||||||||||||||
| Interest rate | interest at a rate per annum equal to the greater of (i) 9.25% or (ii) 9.25% plus the sum of the prevailing prime rate minus 3.25% | ||||||||||||||||||||||||||||||||||||
| Loan bears interest at a rate per annum | 9.25% | 8.00% | 10.00% | 10.00% | 8.00% | 8.00% | |||||||||||||||||||||||||||||||
| Deduction rate on loan bears interest at a rate per annum | 3.25% | ||||||||||||||||||||||||||||||||||||
| Maturity Date | Mar. 01, 2016 | Sep. 30, 2010 | Feb. 20, 2010 | ||||||||||||||||||||||||||||||||||
| Interest payment term | interest-only payments for the initial 12 months and thereafter repay the principal balance of the loan with interest in 30 monthly installments. | ||||||||||||||||||||||||||||||||||||
| No of Loan repayment installments after 12 month | 30 | ||||||||||||||||||||||||||||||||||||
| Interest only period Contingent upon achievement of certain clinical development milestone | 6 months | ||||||||||||||||||||||||||||||||||||
| Number of Loan repayment consists of interest installments before 12 month | 12 | ||||||||||||||||||||||||||||||||||||
| Subsequent private placement | 2,000,000 | ||||||||||||||||||||||||||||||||||||
| Warrant period | 7 years | ||||||||||||||||||||||||||||||||||||
| Warrant to purchase common stock | 20,000 | 73,009 | 27,175 | ||||||||||||||||||||||||||||||||||
| Increase Warrants pursuant to an anti-dilution | 3,371,161 | 10,206,543 | 3,498,114 | 1,091,558 | 804,949 | 261,860 | 40,787 | ||||||||||||||||||||||||||||||
| Cash Commissions percentage of gross proceeds | 2.00% | ||||||||||||||||||||||||||||||||||||
| Warrant exercise price | 5.72 | 5.65 | |||||||||||||||||||||||||||||||||||
| Fair value of the warrant contractual term | 6 years | 7 years | |||||||||||||||||||||||||||||||||||
| Fair value of the warrant volatility | 104.51% | 87.20% | |||||||||||||||||||||||||||||||||||
| Fair value of risk-free interest rate | 1.06% | 1.10% | |||||||||||||||||||||||||||||||||||
| Dividend yield | 0.00% | 0.00% | |||||||||||||||||||||||||||||||||||
| Approximate fair value of the warrant | 14,800,000 | 14,800,000 | 323,000 | ||||||||||||||||||||||||||||||||||
| Charges on termination of the loan stated percentage | 2.65% | ||||||||||||||||||||||||||||||||||||
| Charges on termination of the loan, amount | 398,000 | ||||||||||||||||||||||||||||||||||||
| Fees related to the loan agreement | 218,000 | 800,000 | |||||||||||||||||||||||||||||||||||
| Interest rate for amortize loan discounts | 12.30% | ||||||||||||||||||||||||||||||||||||
| Interest expense related to the Hercules loan | 670,000 | 74,000 | 1,535,000 | 3,953,000 | 609,000 | ||||||||||||||||||||||||||||||||
| Interest expenses accretion of debt discounts | 123,000 | ||||||||||||||||||||||||||||||||||||
| Term of debt instrument periodic payment | 12 months | ||||||||||||||||||||||||||||||||||||
| Current portion of note payable | 1,799,000 | 1,799,000 | 1,799,000 | ||||||||||||||||||||||||||||||||||
| Non Current portion of notes payable | 12,386,000 | 12,386,000 | |||||||||||||||||||||||||||||||||||
| 2015 | 6,300,000 | 6,300,000 | |||||||||||||||||||||||||||||||||||
| 2013 | 1,800,000 | 1,800,000 | |||||||||||||||||||||||||||||||||||
| 2014 | 5,750,000 | 5,750,000 | |||||||||||||||||||||||||||||||||||
| 2016 | 1,140,000 | 1,140,000 | |||||||||||||||||||||||||||||||||||
| Paid off to its related party | 61,000 | ||||||||||||||||||||||||||||||||||||
| Repaid the principal amount of accrued interest | 600,000 | ||||||||||||||||||||||||||||||||||||
| Promissory note maturity period | 3 years | 4 years | |||||||||||||||||||||||||||||||||||
| Promissory note issuance date | Jan. 17, 2008 | Jun. 28, 2006 | Jul. 30, 2007 | ||||||||||||||||||||||||||||||||||
| Common stock conversion price equal to lowest price paid by investors | 100.00% | 7.50% | |||||||||||||||||||||||||||||||||||
| Debt discount recorded | 815,000 | 815,000 | 100,000 | ||||||||||||||||||||||||||||||||||
| Qualified equity financing amount | 10,000,000 | ||||||||||||||||||||||||||||||||||||
| Related party notes, principal and accrued interest | 300,000 | 1,600,000 | |||||||||||||||||||||||||||||||||||
| Convertible Preferred stock number of preferred stock converted into common stock | 36,194 | 273,046 | |||||||||||||||||||||||||||||||||||
| Aggregate consideration payable | 20,706,000 | ||||||||||||||||||||||||||||||||||||
| Cash proceeds from Senior Convertible Notes | 3,500,000 | ||||||||||||||||||||||||||||||||||||
| Cash proceeds from 2008 Senior Convertible Notes | 4,100,000 | ||||||||||||||||||||||||||||||||||||
| Due date of Senior Convertible Note | Feb. 20, 2009 | Feb. 20, 2010 | |||||||||||||||||||||||||||||||||||
| Extended Maturity date | Feb. 20, 2010 | Sep. 30, 2010 | |||||||||||||||||||||||||||||||||||
| Increased Interest rate | 0.10 | ||||||||||||||||||||||||||||||||||||
| Options to extended maturity period | 1 year | ||||||||||||||||||||||||||||||||||||
| Interest Expense on estimated life | 2 years | ||||||||||||||||||||||||||||||||||||
| Debt Discount | 700,000 | 939,000 | |||||||||||||||||||||||||||||||||||
| Repayment Premium, Percentage | 42.90% | ||||||||||||||||||||||||||||||||||||
| Principal and accrued interest total | 8,600,000 | ||||||||||||||||||||||||||||||||||||
| Senior convertible notes converted to shares | 1,464,479 | ||||||||||||||||||||||||||||||||||||
| Share per price | $ 5.87 | $ 8.39 | $ 5.87 | ||||||||||||||||||||||||||||||||||
| Repayment Premium | $ 600,000 | ||||||||||||||||||||||||||||||||||||
| Commission as percentage of gross proceeds | 7.00% | ||||||||||||||||||||||||||||||||||||