v3.19.3

CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (Unaudited) - USD ($) $ in Thousands | Total | Class A and B common stock | Additional paid-in capital | Accumulated other comprehensive loss | Accumulated deficit
--- | --- | --- | --- | --- | ---
Beginning balance (in shares) at Dec. 31, 2017 |  | 395,194,075 |  |  |
Beginning balance at Dec. 31, 2017 | $ 786,333 | $ 0 | $ 1,630,386 | $ (1,318) | $ (842,735)
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |
Net income (loss) | (23,986) |  |  |  | (23,986)
Shares issued in connection with: |  |  |  |  |
Exercise of stock options (in shares) |  | 4,213,775 |  |  |
Exercise of stock options | 31,354 |  | 31,354 |  |
Vesting of early exercised stock options and other | 136 |  | 136 |  |
Vesting of restricted stock units (in shares) |  | 1,625,534 |  |  |
Change in other comprehensive loss | 24 |  |  | 24 |
Share-based compensation | 48,356 |  | 48,356 |  |
Tax withholding related to vesting of restricted stock units (in shares) |  | (649,305) |  |  |
Tax withholding related to vesting of restricted stock units | (27,651) |  | (27,651) |  |
Ending balance (in shares) at Mar. 31, 2018 |  | 400,384,079 |  |  |
Ending balance at Mar. 31, 2018 | 809,980 | $ 0 | 1,682,581 | (1,294) | (871,307)
Beginning balance (in shares) at Dec. 31, 2017 |  | 395,194,075 |  |  |
Beginning balance at Dec. 31, 2017 | 786,333 | $ 0 | 1,630,386 | (1,318) | (842,735)
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |
Net income (loss) | (10,249) |  |  |  |
Ending balance (in shares) at Sep. 30, 2018 |  | 412,372,832 |  |  |
Ending balance at Sep. 30, 2018 | 1,122,144 | $ 0 | 1,986,059 | (6,345) | (857,570)
Beginning balance (in shares) at Mar. 31, 2018 |  | 400,384,079 |  |  |
Beginning balance at Mar. 31, 2018 | 809,980 | $ 0 | 1,682,581 | (1,294) | (871,307)
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |
Net income (loss) | (5,906) |  |  |  | (5,906)
Shares issued in connection with: |  |  |  |  |
Exercise of stock options (in shares) |  | 3,246,683 |  |  |
Exercise of stock options | 23,267 |  | 23,267 |  |
Vesting of early exercised stock options and other | 19 |  | 19 |  |
Purchases under employee stock purchase plan (in shares) |  | 450,236 |  |  |
Purchases under employee stock purchase plan | 12,578 |  | 12,578 |  |
Vesting of restricted stock units (in shares) |  | 2,385,704 |  |  |
Issuance of common stock in connection with business combination (in shares) |  | 2,658,139 |  |  |
Issuance of common stock in connection with business combination | 140,154 |  | 140,154 |  |
Change in other comprehensive loss | (3,162) |  |  | (3,162) |
Share-based compensation | 54,810 |  | 54,810 |  |
Tax withholding related to vesting of restricted stock units (in shares) |  | (773,120) |  |  |
Tax withholding related to vesting of restricted stock units | (40,924) |  | (40,924) |  |
Conversion feature of convertible senior notes, due 2023, net of allocated costs | 154,019 |  | 154,019 |  |
Purchase of bond hedges in conjunction with issuance of convertible senior notes, due 2023 | (172,586) |  | (172,586) |  |
Sale of warrants in conjunction with issuance of convertible senior notes, due 2023 | 112,125 |  | 112,125 |  |
Recovery of common stock in connection with indemnification settlement agreement (in shares) |  | (469,898) |  |  |
Recovery of common stock in connection with indemnification settlement agreement | (2,745) |  | (2,745) |  |
Ending balance (in shares) at Jun. 30, 2018 |  | 407,881,823 |  |  |
Ending balance at Jun. 30, 2018 | 1,081,629 | $ 0 | 1,963,298 | (4,456) | (877,213)
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |
Net income (loss) | 19,643 |  |  |  | 19,643
Shares issued in connection with: |  |  |  |  |
Exercise of stock options (in shares) |  | 3,200,992 |  |  |
Exercise of stock options | 27,580 |  | 27,580 |  |
Vesting of early exercised stock options and other (in shares) |  | 347 |  |  |
Vesting of early exercised stock options and other | 12 |  | 12 |  |
Vesting of restricted stock units (in shares) |  | 2,088,191 |  |  |
Issuance of common stock in connection with business combination (in shares) |  | 1,542 |  |  |
Issuance of common stock in connection with business combination | 853 |  | 853 |  |
Change in other comprehensive loss | (1,889) |  |  | (1,889) |
Share-based compensation | 60,945 |  | 60,945 |  |
Tax withholding related to vesting of restricted stock units (in shares) |  | (800,065) |  |  |
Tax withholding related to vesting of restricted stock units | (57,324) |  | (57,324) |  |
Issuance of common stock in conjunction with the conversion of senior notes, due 2022 (in shares) |  | 2,161,631 |  |  |
Issuance of common stock in conjunction with the conversion of senior notes, due 2022 | (9,305) |  | (9,305) |  |
Exercise of bond hedges in conjunction with the conversion of senior notes, due 2022 (in shares) |  | (2,161,629) |  |  |
Ending balance (in shares) at Sep. 30, 2018 |  | 412,372,832 |  |  |
Ending balance at Sep. 30, 2018 | 1,122,144 | $ 0 | 1,986,059 | (6,345) | (857,570)
Beginning balance (in shares) at Dec. 31, 2018 |  | 417,048,006 |  |  |
Beginning balance at Dec. 31, 2018 | 1,120,501 | $ 0 | 2,012,328 | (6,053) | (885,774)
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |
Net income (loss) | (38,151) |  |  |  | (38,151)
Shares issued in connection with: |  |  |  |  |
Exercise of stock options (in shares) |  | 3,588,052 |  |  |
Exercise of stock options | 25,328 |  | 25,328 |  |
Vesting of early exercised stock options and other (in shares) |  | 425 |  |  |
Vesting of early exercised stock options and other | 36 |  | 36 |  |
Vesting of restricted stock units (in shares) |  | 1,994,156 |  |  |
Change in other comprehensive loss | 2,629 |  |  | 2,629 |
Share-based compensation | 62,835 |  | 62,835 |  |
Tax withholding related to vesting of restricted stock units (in shares) |  | (741,324) |  |  |
Tax withholding related to vesting of restricted stock units | (50,801) |  | (50,801) |  |
Issuance of common stock in conjunction with the conversion of senior notes, due 2022 (in shares) |  | 43 |  |  |
Issuance of common stock in conjunction with the conversion of senior notes, due 2022 | 1 |  | 1 |  |
Exercise of bond hedges in conjunction with the conversion of senior notes, due 2022 (in shares) |  | (250,614) |  |  |
Recovery of common stock in connection with indemnification settlement agreement (in shares) |  | (14,798) |  |  |
Recovery of common stock in connection with indemnification settlement agreement | (789) |  | (789) |  |
Ending balance (in shares) at Mar. 31, 2019 |  | 421,623,946 |  |  |
Ending balance at Mar. 31, 2019 | 1,121,589 | $ 0 | 2,048,938 | (3,424) | (923,925)
Beginning balance (in shares) at Dec. 31, 2018 |  | 417,048,006 |  |  |
Beginning balance at Dec. 31, 2018 | 1,120,501 | $ 0 | 2,012,328 | (6,053) | (885,774)
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |
Net income (loss) | $ (15,494) |  |  |  |
Shares issued in connection with: |  |  |  |  |
Exercise of stock options (in shares) | 7,881,289 |  |  |  |
Ending balance (in shares) at Sep. 30, 2019 |  | 429,073,808 |  |  |
Ending balance at Sep. 30, 2019 | $ 1,249,794 | $ 0 | 2,153,449 | (2,387) | (901,268)
Beginning balance (in shares) at Mar. 31, 2019 |  | 421,623,946 |  |  |
Beginning balance at Mar. 31, 2019 | 1,121,589 | $ 0 | 2,048,938 | (3,424) | (923,925)
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |
Net income (loss) | (6,740) |  |  |  | (6,740)
Shares issued in connection with: |  |  |  |  |
Exercise of stock options (in shares) |  | 2,671,530 |  |  |
Exercise of stock options | 22,651 |  | 22,651 |  |
Purchases under employee stock purchase plan (in shares) |  | 360,328 |  |  |
Purchases under employee stock purchase plan | 18,942 |  | 18,942 |  |
Vesting of restricted stock units (in shares) |  | 2,339,193 |  |  |
Change in other comprehensive loss | 2,498 |  |  | 2,498 |
Share-based compensation | 81,392 |  | 81,392 |  |
Tax withholding related to vesting of restricted stock units (in shares) |  | (777,006) |  |  |
Tax withholding related to vesting of restricted stock units | (55,862) |  | (55,862) |  |
Issuance of common stock in conjunction with the conversion of senior notes, due 2022 (in shares) |  | 86 |  |  |
Issuance of common stock in conjunction with the conversion of senior notes, due 2022 | 2 |  | 2 |  |
Exercise of bond hedges in conjunction with the conversion of senior notes, due 2022 (in shares) |  | (84) |  |  |
Ending balance (in shares) at Jun. 30, 2019 |  | 426,217,993 |  |  |
Ending balance at Jun. 30, 2019 | 1,184,472 | $ 0 | 2,116,063 | (926) | (930,665)
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |
Net income (loss) | 29,397 |  |  |  | 29,397
Shares issued in connection with: |  |  |  |  |
Exercise of stock options (in shares) |  | 1,621,707 |  |  |
Exercise of stock options | 14,860 |  | 14,860 |  |
Vesting of restricted stock units (in shares) |  | 2,035,852 |  |  |
Change in other comprehensive loss | (1,461) |  |  | (1,461) |
Share-based compensation | 79,907 |  | 79,907 |  |
Tax withholding related to vesting of restricted stock units (in shares) |  | (801,744) |  |  |
Tax withholding related to vesting of restricted stock units | (57,381) |  | (57,381) |  |
Ending balance (in shares) at Sep. 30, 2019 |  | 429,073,808 |  |  |
Ending balance at Sep. 30, 2019 | $ 1,249,794 | $ 0 | $ 2,153,449 | $ (2,387) | $ (901,268)

X
- Definition Adjustments Related To Recovery Of Shares Issued And Withheld For Indemnification Purposes + References No definition available. + Details
Name: | sq_AdjustmentsRelatedToRecoveryOfSharesIssuedAndWithheldForIndemnificationPurposes
Namespace Prefix: | sq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments To Additional Paid In Capital, Derivatives Purchased To Offset Equity Component Of Convertible Debt + References No definition available. + Details
Name: | sq_AdjustmentsToAdditionalPaidInCapitalDerivativesPurchasedToOffsetEquityComponentOfConvertibleDebt
Namespace Prefix: | sq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt Conversion, Shares Converted Upon Exercise of Hedges + References No definition available. + Details
Name: | sq_DebtConversionSharesConvertedUponExerciseofHedges
Namespace Prefix: | sq_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Recovery Of Shares Issued And Withheld For Indemnification Purposes, Shares + References No definition available. + Details
Name: | sq_RecoveryOfSharesIssuedAndWithheldForIndemnificationPurposesShares
Namespace Prefix: | sq_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock Issued During Period [Abstract] + References No definition available. + Details
Name: | sq_StockIssuedDuringPeriodAbstract
Namespace Prefix: | sq_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock Issued During Period, Shares, Vesting Of Early Exercised Stock Options And Other + References No definition available. + Details
Name: | sq_StockIssuedDuringPeriodSharesVestingOfEarlyExercisedStockOptionsAndOther
Namespace Prefix: | sq_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock Issued During Period, Value, Vesting Of Early Exercised Stock Options And Other + References No definition available. + Details
Name: | sq_StockIssuedDuringPeriodValueVestingOfEarlyExercisedStockOptionsAndOther
Namespace Prefix: | sq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of decrease to equity for grantee's tax withholding obligation for award under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustment to additional paid in capital resulting from the recognition of convertible debt instruments as two separate components - a debt component and an equity component. This bifurcation may result in a basis difference associated with the liability component that represents a temporary difference for purposes of applying accounting for income taxes. The initial recognition of deferred taxes for the tax effect of that temporary difference is as an adjustment to additional paid in capital. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 25 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=51819886&loc=SL6014347-161799 + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=118258462&loc=d3e11149-113907 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=118258462&loc=d3e11178-113907 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 35 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=116855982&loc=d3e4534-113899 + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase in additional paid in capital (APIC) resulting from the issuance of warrants. Includes allocation of proceeds of debt securities issued with detachable stock purchase warrants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 25 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109126253&loc=d3e4724-112606 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_IncreaseDecreaseInStockholdersEquityRollForward
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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -URI http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -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 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of other comprehensive income (loss) attributable to parent entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=108774443&loc=SL4569643-111683 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of shares issued which are neither cancelled nor held in the treasury. + References No definition available. + Details
Name: | us-gaap_SharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares used to settle grantee's tax withholding obligation for award under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of stock issued during the period pursuant to acquisitions. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesAcquisitions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of the conversion of convertible securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29-30) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of share options (or share units) exercised during the current period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of stock issued pursuant to acquisitions during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29-31) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueAcquisitions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gross value of stock issued during the period upon the conversion of convertible securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29-31) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Aggregate change in value for stock issued during the period as a result of employee stock purchase plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Value of stock issued as a result of the exercise of stock options. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29-31) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 4.E) -URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(31)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockholdersEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant