v2.4.1.9

Statements of Cash Flows (USD $) In Thousands, unless otherwise specified | 12 Months Ended
--- | ---
Dec. 31, 2014 | Dec. 31, 2013 | Dec. 31, 2012
Operating activities: |  |  |
Net income (loss) | $ 781us-gaap_NetIncomeLoss | $ (3,542)us-gaap_NetIncomeLoss | $ (5,059)us-gaap_NetIncomeLoss
Adjustments to reconcile net income (loss) to net cash used in operating activities: |  |  |
Depreciation and amortization | 512us-gaap_DepreciationDepletionAndAmortization | 663us-gaap_DepreciationDepletionAndAmortization | 1,072us-gaap_DepreciationDepletionAndAmortization
Stock-based compensation | 535us-gaap_ShareBasedCompensation | 72us-gaap_ShareBasedCompensation | 69us-gaap_ShareBasedCompensation
Amortization of deferred revenue | (727)cdna_AmortizationOfDeferredRevenue | (193)cdna_AmortizationOfDeferredRevenue | (187)cdna_AmortizationOfDeferredRevenue
Amortization of debt discount and noncash interest expense | 799us-gaap_AmortizationOfFinancingCostsAndDiscounts | 553us-gaap_AmortizationOfFinancingCostsAndDiscounts | 634us-gaap_AmortizationOfFinancingCostsAndDiscounts
Revaluation of warrants and derivatives to estimated fair value | (1,464)us-gaap_FairValueAdjustmentOfWarrants | 525us-gaap_FairValueAdjustmentOfWarrants | (2)us-gaap_FairValueAdjustmentOfWarrants
Non-cash income tax benefit in connection with business combinations | (1,500)us-gaap_OtherNoncashIncomeTaxExpense | 0us-gaap_OtherNoncashIncomeTaxExpense | 0us-gaap_OtherNoncashIncomeTaxExpense
Changes in operating assets and liabilities: |  |  |
Accounts receivable | (417)us-gaap_IncreaseDecreaseInAccountsReceivable | (1,318)us-gaap_IncreaseDecreaseInAccountsReceivable | (150)us-gaap_IncreaseDecreaseInAccountsReceivable
Inventory | (168)us-gaap_IncreaseDecreaseInInventories | 58us-gaap_IncreaseDecreaseInInventories | (152)us-gaap_IncreaseDecreaseInInventories
Prepaid and other assets | (310)us-gaap_IncreaseDecreaseInPrepaidExpensesOther | (4)us-gaap_IncreaseDecreaseInPrepaidExpensesOther | 146us-gaap_IncreaseDecreaseInPrepaidExpensesOther
Accounts payable | 510us-gaap_IncreaseDecreaseInAccountsPayable | (19)us-gaap_IncreaseDecreaseInAccountsPayable | (113)us-gaap_IncreaseDecreaseInAccountsPayable
Accrued payroll liabilities | 298us-gaap_IncreaseDecreaseInAccruedSalaries | 408us-gaap_IncreaseDecreaseInAccruedSalaries | (76)us-gaap_IncreaseDecreaseInAccruedSalaries
Accrued royalties | (2,563)us-gaap_IncreaseDecreaseInRoyaltiesPayable | 1,259us-gaap_IncreaseDecreaseInRoyaltiesPayable | 843us-gaap_IncreaseDecreaseInRoyaltiesPayable
Deferred revenue | 0us-gaap_IncreaseDecreaseInDeferredRevenue | 1,083us-gaap_IncreaseDecreaseInDeferredRevenue | 1,000us-gaap_IncreaseDecreaseInDeferredRevenue
Accrued and other liabilities | 364us-gaap_IncreaseDecreaseInOtherAccruedLiabilities | (91)us-gaap_IncreaseDecreaseInOtherAccruedLiabilities | 199us-gaap_IncreaseDecreaseInOtherAccruedLiabilities
Net cash used in operating activities | (3,350)us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations | (546)us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations | (1,776)us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations
Investing activities: |  |  |
Purchase of investments | 0us-gaap_PaymentsToAcquireInvestments | 0us-gaap_PaymentsToAcquireInvestments | (1,623)us-gaap_PaymentsToAcquireInvestments
Sales of investments | 0us-gaap_PaymentsForProceedsFromInvestments | 0us-gaap_PaymentsForProceedsFromInvestments | 383us-gaap_PaymentsForProceedsFromInvestments
Maturities of investments | 0us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments | 0us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments | 2,023us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments
Purchase of property and equipment | (733)us-gaap_PaymentsToAcquirePropertyPlantAndEquipment | (98)us-gaap_PaymentsToAcquirePropertyPlantAndEquipment | (141)us-gaap_PaymentsToAcquirePropertyPlantAndEquipment
Payment for acquisitions, net of cash acquired | (600)us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired | 0us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired | 0us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired
Net cash (used in) provided by investing activities | (1,333)us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations | (98)us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations | 642us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations
Financing activities: |  |  |
Proceeds from initial public offering, net of underwriters discount | 39,246us-gaap_ProceedsFromIssuanceInitialPublicOffering | 0us-gaap_ProceedsFromIssuanceInitialPublicOffering | 0us-gaap_ProceedsFromIssuanceInitialPublicOffering
Payment of initial public offering costs | (3,733)us-gaap_PaymentsOfStockIssuanceCosts | 0us-gaap_PaymentsOfStockIssuanceCosts | 0us-gaap_PaymentsOfStockIssuanceCosts
Proceeds from issuance of convertible preferred stock, net of issuance costs | 0us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock | 0us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock | 2,941us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock
Proceeds from debt, net of issuance costs | 0us-gaap_ProceedsFromDebtNetOfIssuanceCosts | 0us-gaap_ProceedsFromDebtNetOfIssuanceCosts | 14,650us-gaap_ProceedsFromDebtNetOfIssuanceCosts
Proceeds from exercise of stock options | 19us-gaap_ProceedsFromStockOptionsExercised | 0us-gaap_ProceedsFromStockOptionsExercised | 10us-gaap_ProceedsFromStockOptionsExercised
Principal payments on debt | (4,528)us-gaap_RepaymentsOfDebt | (58)us-gaap_RepaymentsOfDebt | (12,994)us-gaap_RepaymentsOfDebt
Net cash provided by (used in) financing activities | 35,986us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations | (58)us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations | 4,607us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations
Net increase (decrease) in cash and cash equivalents | 31,303us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease | (702)us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease | 3,473us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease
Cash and cash equivalents at beginning of period | 5,128us-gaap_CashAndCashEquivalentsAtCarryingValue | 5,830us-gaap_CashAndCashEquivalentsAtCarryingValue | 2,357us-gaap_CashAndCashEquivalentsAtCarryingValue
Cash and cash equivalents at end of period | 36,431us-gaap_CashAndCashEquivalentsAtCarryingValue | 5,128us-gaap_CashAndCashEquivalentsAtCarryingValue | 5,830us-gaap_CashAndCashEquivalentsAtCarryingValue
Supplemental disclosures of cash information |  |  |
Cash paid for interest | 1,207us-gaap_InterestPaidNet | 1,506us-gaap_InterestPaidNet | 1,966us-gaap_InterestPaidNet
Supplemental disclosures of noncash investing and financing activities |  |  |
Property and equipment purchased under capital leases | 193us-gaap_NoncashOrPartNoncashAcquisitionFixedAssetsAcquired1 | 0us-gaap_NoncashOrPartNoncashAcquisitionFixedAssetsAcquired1 | 43us-gaap_NoncashOrPartNoncashAcquisitionFixedAssetsAcquired1
Common stock issued for acquisition | 14,242cdna_CommonStockIssuedForAcquisition | 0cdna_CommonStockIssuedForAcquisition | 0cdna_CommonStockIssuedForAcquisition
Conversion of convertible preferred stock to common stock upon initial public offering | 149,444cdna_ConversionOfConvertiblePreferredStockToCommonStockAtInitialPublicOffering | 0cdna_ConversionOfConvertiblePreferredStockToCommonStockAtInitialPublicOffering | 0cdna_ConversionOfConvertiblePreferredStockToCommonStockAtInitialPublicOffering
Conversion of convertible preferred stock warrants to common stock warrants upon initial public offering | 539cdna_ConversionOfConvertiblePreferredStockWarrantsToCommonStockWarrants | 0cdna_ConversionOfConvertiblePreferredStockWarrantsToCommonStockWarrants | 0cdna_ConversionOfConvertiblePreferredStockWarrantsToCommonStockWarrants
Conversion of subordinated convertible note to common stock upon initial public offering | 5,108us-gaap_ConversionOfStockAmountIssued1 | 0us-gaap_ConversionOfStockAmountIssued1 | 0us-gaap_ConversionOfStockAmountIssued1
Common stock issued for services | 34us-gaap_StockIssued1 | 0us-gaap_StockIssued1 | 0us-gaap_StockIssued1
Convertible Subordinated Debt [Member] |  |  |
Financing activities: |  |  |
Proceeds from debt, net of issuance costs | $ 4,982us-gaap_ProceedsFromDebtNetOfIssuanceCosts / us-gaap_LongtermDebtTypeAxis = us-gaap_ConvertibleSubordinatedDebtMember | $ 0us-gaap_ProceedsFromDebtNetOfIssuanceCosts / us-gaap_LongtermDebtTypeAxis = us-gaap_ConvertibleSubordinatedDebtMember | $ 0us-gaap_ProceedsFromDebtNetOfIssuanceCosts / us-gaap_LongtermDebtTypeAxis = us-gaap_ConvertibleSubordinatedDebtMember

X
- Definition The amount of amortization of deferred revenue during the period. + References No definition available. + Details
Name: | cdna_AmortizationOfDeferredRevenue
Namespace Prefix: | cdna_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Common stock issued for acquisition. + References No definition available. + Details
Name: | cdna_CommonStockIssuedForAcquisition
Namespace Prefix: | cdna_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Conversion Of Convertible Preferred Stock To Common Stock At Initial Public Offering + References No definition available. + Details
Name: | cdna_ConversionOfConvertiblePreferredStockToCommonStockAtInitialPublicOffering
Namespace Prefix: | cdna_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Conversion Of Convertible Preferred Stock Warrants To Common Stock Warrants + References No definition available. + Details
Name: | cdna_ConversionOfConvertiblePreferredStockWarrantsToCommonStockWarrants
Namespace Prefix: | cdna_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of noncash expense included in interest expense to allocate debt discount and premium, and the costs to issue debt and obtain financing over the related debt instruments. Alternate captions include noncash interest expense. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_AmortizationOfFinancingCostsAndDiscounts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 230 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906 + Details
Name: | us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The value of the financial instrument issued [noncash or part noncash] in the conversion of stock. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 + Details
Name: | us-gaap_ConversionOfStockAmountIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_DepreciationDepletionAndAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section 25 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=6939902&loc=d3e20148-110875 + Details
Name: | us-gaap_FairValueAdjustmentOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInAccountsPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInAccountsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) during the period in accrued salaries. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInAccruedSalaries
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period, excluding the portion taken into income, in the liability reflecting revenue yet to be earned for which cash or other forms of consideration was received or recorded as a receivable. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInDeferredRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInInventories
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_IncreaseDecreaseInOperatingCapitalAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period in other expenses incurred but not yet paid. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInOtherAccruedLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase (decrease) of consideration paid in advance for other costs that provide economic benefits in future periods. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInPrepaidExpensesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period in the obligations due for compensation payments related to the use of copyrights, patents, trade names, licenses, technology. Royalty payments are also paid by the lease holders for oil, gas, and mineral extraction. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInRoyaltiesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of cash paid for interest during the period net of cash paid for interest that is capitalized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4297-108586 + Details
Name: | us-gaap_InterestPaidNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) of financing activities, excluding discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 26 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) of investing activities, excluding discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 26 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from operating activities, excluding discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Other Comprehensive Income -URI http://asc.fasb.org/extlink&oid=6519514 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Net Income -URI http://asc.fasb.org/extlink&oid=6518256 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.19) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.18) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.22) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 19 -Article 5 Reference 9: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 20 -Article 9 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of fixed assets that an Entity acquires in a noncash (or part noncash) acquisition. Noncash is defined as information about all investing and financing activities of an enterprise during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 + Details
Name: | us-gaap_NoncashOrPartNoncashAcquisitionFixedAssetsAcquired1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The portion of the noncash component of income tax expense for the period other than the portion from the net change in the entity's deferred tax assets and liabilities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_OtherNoncashIncomeTaxExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The net cash paid (received) associated with the acquisition or disposal of all investments, including securities and other assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3095-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3098-108585 + Details
Name: | us-gaap_PaymentsForProceedsFromInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for cost incurred directly with the issuance of an equity security. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfStockIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the purchase of all investments (debt, security, other) during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquirePropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from additional borrowings, net of cash paid to third parties in connection with debt origination. + References No definition available. + Details
Name: | us-gaap_ProceedsFromDebtNetOfIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow associated with the amount received from entity's first offering of stock to the public. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceInitialPublicOffering
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from issuance of callable preferred stock which is identified as being convertible to another type of financial security at the option of the issuer or the holder. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow associated with the sale and maturity (principal being due) of other investments, prepayment and call (request of early payment) of other investments not otherwise defined in the taxonomy. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 + Details
Name: | us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow associated with the amount received from holders exercising their stock options. This item inherently excludes any excess tax benefit, which the entity may have realized and reported separately. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (j) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References No definition available. + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The fair value of stock issued in noncash financing activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 + Details
Name: | us-gaap_StockIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_SupplementalCashFlowInformationAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleSubordinatedDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |