Convertible Notes - Additional Information (Details) | Apr. 27, 2021USD ($)shares | Jan. 01, 2021USD ($) | Apr. 30, 2021USD ($)d$ / sharesshares | Apr. 30, 2020USD ($)$ / sharesshares | Aug. 31, 2019USD ($)$ / sharesshares | Jun. 30, 2021USD ($)$ / shares | Jun. 30, 2020USD ($) | Jun. 30, 2021USD ($)$ / shares | Jun. 30, 2020USD ($) | Dec. 31, 2020USD ($) |
Debt Instrument [Line Items] | | | | | | | | | | |
Proceeds from issuance of convertible notes, net of issuance costs | | | | | | $ 1,137,227,000 | $ 988,582,000 | $ 1,137,227,000 | $ 988,582,000 | |
Accumulated deficit | | | | | | (8,235,057,000) | | (8,235,057,000) | | $ (7,891,542,000) |
Convertible senior notes, net | | | | | | 2,550,829,000 | | 2,550,829,000 | | $ 1,675,169,000 |
Amortization of debt discount and issuance costs | | | | | | $ 1,148,000 | 20,412,000 | $ 2,192,000 | 31,975,000 | |
Exchange Agreements | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Shares issued under original terms of general conversion with net carrying amount | $ 832,700,000 | | | | | | | | | |
Cumulative Effect, Period of Adoption, Adjustment | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Accumulated deficit | | $ (95,000,000) | | | | | | | | |
Additional paid-in capital | | (664,000,000) | | | | | | | | |
Convertible senior notes, net | | $ 569,000,000 | | | | | | | | |
Accounting Standards Update 2020-06 | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Change in accounting principle, accounting standards update, adoption date | | | | | | Jan. 1, 2021 | | Jan. 1, 2021 | | |
Change in accounting principle, accounting standards update, early adoption [true false] | | | | | | true | | true | | |
Change in accounting principle, accounting standards update, transition option elected | | | | | | | | snap:AccountingStandardsUpdate202006ModifiedRetrospectiveMember | | |
Class A Non-voting Common Stock | Exchange Agreements | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Shares issued upon conversion | shares | 38,400,000 | | | | | | | | | |
Additional shares issued upon conversion | shares | 600,000 | | | | | | | | | |
Fair value of induced conversion exchange shares | shares | 600,000 | | | | | | | | | |
2027 Notes | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt instrument, principal amount | | | $ 1,150,000,000 | | | $ 1,150,000,000 | | $ 1,150,000,000 | | |
Indenture date | | | Apr. 30, 2021 | | | | | | | |
Proceeds from issuance of convertible notes, net of issuance costs | | | $ 1,050,000,000 | | | | | | | |
Debt instrument, maturity date | | | May 1, 2027 | | | | | | | |
Debt instrument, redemption price percentage | | | 100.00% | | | | | | | |
Debt instrument convertible, amortization period | | | | | | | | 5 years 9 months 18 days | | |
Cap price, net cost | | | | | | $ 86,800,000 | | $ 86,800,000 | | |
2027 Notes | Class A Non-voting Common Stock | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Number of shares issued upon conversion | shares | | | 11.2042 | | | | | | | |
Debt instrument, convertible principal amount used in conversion rate | | | $ 1,000 | | | | | | | |
Conversion price per share | $ / shares | | | $ 89.25 | | | | | | | |
Debt instrument convertible, percentage of conversion price | | | 130.00% | | | | | | | |
Debt instrument convertible, number of trading days | d | | | 20 | | | | | | | |
Debt instrument, redemption price percentage | | | 100.00% | | | | | | | |
Cap price, per share | $ / shares | | | | | | $ 121.02 | | $ 121.02 | | |
2027 Notes | Class A Non-voting Common Stock | Scenario One | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt instrument convertible, percentage of conversion price | | | 130.00% | | | | | | | |
Debt instrument convertible, number of trading days | d | | | 20 | | | | | | | |
Debt instrument convertible, number of consecutive trading days | d | | | 30 | | | | | | | |
2027 Notes | Class A Non-voting Common Stock | Scenario Two | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt instrument, convertible principal amount used in conversion rate | | | $ 1,000 | | | | | | | |
Debt instrument convertible, number of consecutive trading days | d | | | 10 | | | | | | | |
Debt instrument, convertible, threshold business days | | | 5 days | | | | | | | |
2027 Notes | Class A Non-voting Common Stock | Scenario Two | Maximum | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt instrument convertible, percentage of conversion price | | | 98.00% | | | | | | | |
2025 Notes | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt instrument, principal amount | | | | $ 1,000,000,000 | | $ 586,500,000 | | $ 586,500,000 | | |
Debt instrument, maturity date | | | | May 1, 2025 | | | | | | |
Proceeds from issuance of convertible notes, net of issuance costs | | | | $ 888,600,000 | | | | | | |
Interest payment beginning date | | | | Nov. 1, 2020 | | | | | | |
Debt instrument, interest rate | | | | 0.25% | | | | | | |
Debt instrument, interest rate terms | | | | | | | | Interest is payable in cash semi-annually in arrears beginning on November 1, 2020 at a rate of 0.25% per year. | | |
Debt instrument convertible, amortization period | | | | | | | | 3 years 9 months 18 days | | |
If-converted value exceeding principal amount | | | | | | | | $ 1,300,000,000 | | |
Cap price, net cost | | | | | | $ 100,000,000 | | $ 100,000,000 | | |
2025 Notes | Exchange Agreements | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt conversion, principal amount | $ 413,500,000 | | | | | | | | | |
2025 Notes | Class A Non-voting Common Stock | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Number of shares issued upon conversion | shares | | | | 46.1233 | | | | | | |
Debt instrument, convertible principal amount used in conversion rate | | | | $ 1,000 | | | | | | |
Conversion price per share | $ / shares | | | | $ 21.68 | | | | | | |
Cap price, per share | $ / shares | | | | | | $ 32.12 | | $ 32.12 | | |
2026 Notes | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt instrument, principal amount | | | | | $ 1,265,000,000 | $ 838,500,000 | | $ 838,500,000 | | |
Debt instrument, maturity date | | | | | Aug. 1, 2026 | | | | | |
Proceeds from issuance of convertible notes, net of issuance costs | | | | | $ 1,150,000,000 | | | | | |
Interest payment beginning date | | | | | Feb. 1, 2020 | | | | | |
Debt instrument, interest rate | | | | | 0.75% | | | | | |
Debt instrument, interest rate terms | | | | | | | | Interest is payable in cash semi-annually in arrears beginning on February 1, 2020 at a rate of 0.75% per year. | | |
Debt instrument convertible, amortization period | | | | | | | | 5 years 1 month 6 days | | |
If-converted value exceeding principal amount | | | | | | | | $ 1,700,000,000 | | |
Cap price, net cost | | | | | | $ 102,100,000 | | $ 102,100,000 | | |
2026 Notes | Exchange Agreements | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt conversion, principal amount | $ 426,500,000 | | | | | | | | | |
2026 Notes | Class A Non-voting Common Stock | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Number of shares issued upon conversion | shares | | | | | 43.8481 | | | | | |
Debt instrument, convertible principal amount used in conversion rate | | | | | $ 1,000 | | | | | |
Conversion price per share | $ / shares | | | | | $ 22.81 | | | | | |
Cap price, per share | $ / shares | | | | | | $ 32.58 | | $ 32.58 | | |
2025, 2026 and 2027 Notes | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Amortization of debt issuance costs | | | | | | $ 1,100,000 | | $ 2,200,000 | | |
Amortization of debt discount and issuance costs | | | | | | | 20,400,000 | | 32,000,000 | |
Contractual interest expense | | | | | | $ 2,300,000 | $ 2,800,000 | $ 5,300,000 | $ 5,200,000 | |
Initial Placement | 2027 Notes | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt instrument, principal amount | | | $ 1,000,000,000 | | | | | | | |
Over-Allotment Option | 2027 Notes | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | |
Debt instrument, principal amount | | | $ 150,000,000 | | | | | | | |