| Dec 31, 2011 | Dec 31, 2012 | Dec 31, 2013 | Dec 31, 2014 | Dec 31, 2015 | Dec 31, 2016 | Dec 31, 2017 | Dec 31, 2018 | Dec 31, 2019 | Dec 31, 2020 | Dec 31, 2021 | Dec 31, 2022 | Dec 31, 2023 | Dec 31, 2024 |
|---|
| Net income (loss) | - | - | - | - | - | - | - | -87 | -52 | -57 | -81 | -87 | -12 | 28 |
|---|
| Stock-based compensation | 125 | 138 | 183 | 49 | 9 | 5 | 5 | 7 | 6 | 7 | 12 | 13 | 18 | 21 |
|---|
| Loss on settlement of debt | - | - | - | - | -1 | 72 | -2 | -1 | 4 | -0 | -17 | - | - | -20 |
|---|
| Interest on liability for sale of future royalties | - | - | - | - | - | - | - | - | - | - | - | - | 0 | 16 |
|---|
| Depreciation and amortization | 112 | 127 | 141 | 19 | 13 | 4 | 4 | 3 | 1 | 2 | 4 | 6 | 5 | 7 |
|---|
| Write-off of inventory | - | - | - | - | 36 | - | 3 | 2 | - | 1 | 2 | 2 | 5 | 4 |
|---|
| Amortization of right-of-use assets | - | - | - | - | - | - | - | - | - | - | - | 3 | 1 | 2 |
|---|
| Amortization of debt discount and issuance costs | - | - | - | - | - | - | - | - | - | - | - | - | 2 | 2 |
|---|
| Loss on available-for-sale securities | - | - | - | - | - | - | - | - | - | - | - | -1 | -0 | -2 |
|---|
| Loss on estimated returns of acquired product | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 |
|---|
| Loss on disposal of fixed assets | - | - | - | - | - | - | - | - | - | - | - | - | - | -1 |
|---|
| Sold portion of royalty revenue | - | - | - | - | - | - | - | - | - | - | - | - | - | 10 |
|---|
| Gain on bargain purchase | - | - | - | - | - | - | - | - | - | - | - | - | - | 5 |
|---|
| Net (accretion) amortization of investments | - | - | - | - | - | - | - | - | - | - | - | - | -1 | -5 |
|---|
| (Gain) loss on foreign currency transaction | - | - | - | - | - | 3 | -14 | 4 | 2 | -8 | 7 | 5 | -2 | 4 |
|---|
| Other, net | 0 | 0 | -0 | 0 | - | -0 | -0 | 0 | -0 | -0 | - | -0 | 0 | 0 |
|---|
| Non Cash Interest On Financing Liability | - | - | - | - | - | - | - | - | - | - | - | - | 0 | - |
|---|
| Accounts receivable, net | - | - | - | - | - | 0 | 2 | 1 | -1 | 1 | 1 | 12 | -2 | -3 |
|---|
| Inventory | - | - | - | 10 | 26 | 2 | 3 | 3 | 1 | 1 | 4 | 6 | 11 | 3 |
|---|
| Prepaid expenses and other current assets | 1 | 3 | 4 | 15 | -13 | 0 | -1 | -0 | 0 | 0 | 0 | 16 | 9 | 7 |
|---|
| Other assets | 0 | 0 | 0 | 1 | -0 | -0 | -0 | -0 | 1 | -0 | 0 | -1 | -0 | 4 |
|---|
| Accounts payable | 4 | 4 | 3 | 4 | 8 | -12 | 4 | -2 | -1 | 1 | 1 | 4 | -1 | -3 |
|---|
| Accrued expenses and other current liabilities | 20 | 35 | 39 | 2 | -12 | 0 | 3 | 2 | 3 | 3 | 9 | -1 | 7 | -3 |
|---|
| Deferred revenue | - | - | - | - | - | - | - | - | -7 | -6 | -15 | 19 | 39 | -15 |
|---|
| Recognized loss on purchase commitments | - | - | - | - | - | - | - | - | -4 | -5 | -6 | -6 | -9 | -3 |
|---|
| Operating lease liabilities | - | - | - | - | - | - | - | - | -2 | -1 | -2 | -3 | -2 | -2 |
|---|
| Deposits from customer | - | - | - | - | - | - | - | - | - | - | 5 | -5 | - | - |
|---|
| Net cash provided by (used in) operating activities | -124 | -120 | -129 | - | - | - | - | -38 | -88 | -28 | -62 | -81 | 34 | 43 |
|---|
| Purchase of held-to-maturity debt securities | - | - | - | - | - | - | - | - | - | - | 196 | 75 | 79 | 274 |
|---|
| Proceeds from maturities of held-to-maturity securities | - | - | - | - | - | - | - | - | - | - | 59 | 107 | 119 | 135 |
|---|
| Purchase of available-for-sale securities | - | - | - | - | - | - | - | - | - | - | 3 | 5 | - | 7 |
|---|
| Proceeds from maturities of available-for-sale securities | - | - | - | - | - | - | - | - | - | - | - | - | - | 58 |
|---|
| Purchase of property and equipment | 327 | 328 | 336 | 24 | 10 | 1 | - | 0 | 3 | 1 | 11 | 8 | 42 | 10 |
|---|
| Acquisition of V-Go | - | - | - | - | - | - | - | - | - | - | - | 15 | - | - |
|---|
| Proceeds from insurance claim | - | - | - | - | - | - | - | - | - | - | - | - | 0 | 0 |
|---|
| Net cash (used in) provided by investing activities | -3 | -1 | -8 | - | - | - | - | -0 | -23 | 15 | -152 | 5 | -2 | -97 |
|---|
| Proceeds from sale of future royalties | - | - | - | - | - | - | - | - | - | - | - | - | 150 | - |
|---|
| Issuance costs associated with sale of future royalties | - | - | - | - | - | - | - | - | - | - | - | - | 4 | - |
|---|
| Principal and early extinguishment payments on senior convertible notes | - | - | - | - | - | - | - | - | 11 | - | - | - | - | 88 |
|---|
| Principal and early extinguishment payments on MidCap credit facility | - | - | - | - | - | - | - | - | - | - | - | - | - | 37 |
|---|
| Principal and early extinguishment payments on Mann Group convertible note | 2 | 2 | 2 | - | - | - | - | - | 38 | - | 35 | - | - | 9 |
|---|
| Payments for taxes related to net issuance of common stock associated with restricted stock units and stock options | - | - | - | - | - | - | - | - | - | - | - | - | 10 | 6 |
|---|
| Proceeds from market price stock purchase plan and employee stock purchase plan | - | - | - | - | - | - | - | - | - | - | - | 3 | 2 | 3 |
|---|
| Milestone payment | - | - | - | -3 | 4 | - | - | - | 2 | - | 5 | 1 | 1 | 1 |
|---|
| Principal payment on financing liability | - | - | - | - | - | - | - | - | - | - | - | - | 0 | 0 |
|---|
| Proceeds from at-the-market-offering | - | - | - | - | - | - | - | - | 3 | 23 | 2 | 20 | 7 | - |
|---|
| At The Market Issuance | - | - | - | - | - | - | - | 0 | 0 | 1 | 0 | 0 | 0 | - |
|---|
| Issuance costs associated with at-the-market offering | - | - | - | - | 1 | - | 0 | - | - | - | 3 | - | - | - |
|---|
| Net cash (used in) provided by financing activities | 1,806 | 1,986 | 2,131 | - | - | - | - | 61 | 70 | 50 | 270 | 21 | 137 | -137 |
|---|
| NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH | - | - | - | - | - | - | - | 23 | -41 | 37 | 57 | -54 | 169 | -191 |
|---|
| Interest paid in cash | - | - | - | - | - | - | 8 | 4 | 2 | 4 | - | 9 | 18 | 18 |
|---|
| Income Taxes Paid, Net | - | - | - | - | - | - | - | - | - | - | - | - | - | 4 |
|---|
| Payments of senior convertible note principal through common stock issuances | - | - | - | - | - | - | - | - | - | - | - | - | - | 116 |
|---|
| Assumption of right-of-use-asset and operating lease liability | - | - | - | - | - | - | - | - | - | - | - | - | - | 10 |
|---|
| Non-cash acquisition of intangible asset | - | - | - | - | - | - | - | - | - | - | - | - | - | 4 |
|---|
| Amortization of liability for sale of future royalties | - | - | - | - | - | - | - | - | - | - | - | - | - | 4 |
|---|
| Reclassification Of Credit Facility From Long-term To Current | - | - | - | - | - | - | - | - | - | - | - | - | 27 | - |
|---|
| Reclassification of investments from long-term to current | - | - | - | - | - | - | - | - | - | - | - | 83 | 6 | - |
|---|
| Capital Expenditures Incurred but Not yet Paid | - | - | - | - | - | - | - | - | - | 0 | - | 1 | 2 | 2 |
|---|
| Non-cash acquisition of property and equipment | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 |
|---|
| Right-of-use asset modification | - | - | - | - | - | - | - | - | - | - | - | 4 | 1 | - |
|---|
| Goodwill adjustment for a net reduction in liabilities | - | - | - | - | - | - | - | - | - | - | - | - | 0 | - |
|---|
| Receivable for insurance claim on damaged equipment | - | - | - | - | - | - | - | - | - | - | - | - | 0 | - |
|---|
| Accrued issuance costs associated with liability for sale of future royalties | - | - | - | - | - | - | - | - | - | - | - | - | 0 | - |
|---|
| Payments on debt and interest through common stock issuance | - | - | - | - | - | - | - | - | - | - | - | 10 | 0 | - |
|---|
| Reclassification Of Convertible Notes And Interest Receivable | - | - | - | - | - | - | - | - | - | - | - | 7 | - | - |
|---|
| Issuance of common stock under employee stock purchase plan | - | - | - | - | - | - | - | - | 1 | 1 | - | - | - | - |
|---|
| Addition of right-of-use-asset | - | - | - | - | - | - | - | - | 5 | - | - | 2 | - | - |
|---|
| Contingent milestone liability | - | - | - | - | - | - | - | - | - | - | - | 1 | - | - |
|---|
| Issuance Of Warrants Associated With Credit Facility | - | - | - | - | - | - | - | - | 2 | 0 | - | - | - | - |
|---|