CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (UNAUDITED) - USD ($) shares in Thousands, $ in Thousands | Total | Cumulative Effect, Period of Adoption, Adjustment | Cumulative Effect, Period of Adoption, Adjusted Balance | Common Stock | Additional Paid-in Capital | Additional Paid-in Capital Cumulative Effect, Period of Adoption, Adjustment | Additional Paid-in Capital Cumulative Effect, Period of Adoption, Adjusted Balance | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit | Accumulated Deficit Cumulative Effect, Period of Adoption, Adjustment | Accumulated Deficit Cumulative Effect, Period of Adoption, Adjusted Balance |
Beginning Balance (in shares) at Dec. 31, 2020 | | | | 57,682 | | | | | | | |
Beginning Balance at Dec. 31, 2020 | $ 422,070 | | | $ 577 | $ 622,768 | | | $ 376 | $ (201,651) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 195 | | | | | | | |
Stock option exercises | 5,046 | | | $ 2 | 5,044 | | | | 0 | | |
Vesting of restricted stock units (in shares) | | | | 461 | | | | | | | |
Vesting of restricted stock units | 4 | | | $ 4 | 0 | | | | 0 | | |
Issuance of common stock through employee stock purchase plan (in shares) | | | | 64 | | | | | | | |
Issuance of common stock through employee stock purchase plan | 5,197 | | | $ 1 | 5,196 | | | | 0 | | |
Acquisition of common stock for tax withholding obligations | (9,936) | | | | (9,936) | | | | 0 | | |
Stock-based compensation | 32,751 | | | | 32,751 | | | | 0 | | |
Equity component of partial repurchase of 2024 convertible senior notes | (219,284) | | | | (219,284) | | | | | | |
Equity component of the 2026 convertible senior notes, net of issuance costs and tax | 268,085 | | | | 268,085 | | | | | | |
Purchase of capped calls | (102,350) | | | | (102,350) | | | | | | |
Other comprehensive income | (132) | | | | | | | (132) | | | |
Net loss attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | (64,410) | | | | (6,091) | | | | (58,319) | | |
Ending Balance (in shares) at Jun. 30, 2021 | | | | 58,402 | | | | | | | |
Ending Balance at Jun. 30, 2021 | 337,041 | | | $ 584 | 596,183 | | | 244 | (259,970) | | |
Beginning Balance (in shares) at Mar. 31, 2021 | | | | 58,038 | | | | | | | |
Beginning Balance at Mar. 31, 2021 | 339,628 | | | $ 580 | 573,431 | | | 295 | (234,678) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 97 | | | | | | | |
Stock option exercises | 2,897 | | | $ 1 | 2,896 | | | | 0 | | |
Vesting of restricted stock units (in shares) | | | | 203 | | | | | | | |
Vesting of restricted stock units | 2 | | | $ 2 | 0 | | | | 0 | | |
Issuance of common stock through employee stock purchase plan (in shares) | | | | 64 | | | | | | | |
Issuance of common stock through employee stock purchase plan | 5,197 | | | $ 1 | 5,196 | | | | 0 | | |
Acquisition of common stock for tax withholding obligations | (4,802) | | | | (4,802) | | | | 0 | | |
Stock-based compensation | 17,548 | | | | 17,548 | | | | 0 | | |
Equity component of the 2026 convertible senior notes, net of issuance costs and tax | 2,068 | | | | 2,068 | | | | | | |
Other comprehensive income | (51) | | | | | | | (51) | | | |
Net loss attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | (25,446) | | | | (154) | | | | (25,292) | | |
Ending Balance (in shares) at Jun. 30, 2021 | | | | 58,402 | | | | | | | |
Ending Balance at Jun. 30, 2021 | 337,041 | | | $ 584 | 596,183 | | | 244 | (259,970) | | |
Beginning Balance (in shares) at Dec. 31, 2021 | | | | 58,984 | | | | | | | |
Beginning Balance at Dec. 31, 2021 | 325,036 | $ (262,130) | $ 62,906 | $ 590 | 625,883 | $ (324,418) | $ 301,465 | 298 | (301,735) | $ 62,288 | $ (239,447) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 117 | | | | | | | |
Stock option exercises | 2,416 | | | $ 1 | 2,415 | | | | | | |
Vesting of restricted stock units (in shares) | | | | 374 | | | | | | | |
Vesting of restricted stock units | 4 | | | $ 4 | 0 | | | | | | |
Issuance of common stock through employee stock purchase plan (in shares) | | | | 98 | | | | | | | |
Issuance of common stock through employee stock purchase plan | 4,466 | | | $ 1 | 4,465 | | | | | | |
Acquisition of common stock for tax withholding obligations | (6,002) | | | | (6,002) | | | | 0 | | |
Stock-based compensation | 37,319 | | | | 37,319 | | | | 0 | | |
Other comprehensive income | (1,250) | | | | | | | (1,250) | | | |
Net loss attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | (20,676) | | | | 4,602 | | | | (25,278) | | |
Ending Balance (in shares) at Jun. 30, 2022 | | | | 59,573 | | | | | | | |
Ending Balance at Jun. 30, 2022 | $ 79,183 | | | $ 596 | 344,264 | | | (952) | (264,725) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Accounting Standards Update [Extensible Enumeration] | Accounting Standards Update 2020-06 [Member] | | | | | | | | | | |
Beginning Balance (in shares) at Mar. 31, 2022 | | | | 59,293 | | | | | | | |
Beginning Balance at Mar. 31, 2022 | $ 66,128 | | | $ 593 | 318,297 | | | 113 | (252,875) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 46 | | | | | | | |
Stock option exercises | 1,029 | | | | 1,029 | | | | 0 | | |
Vesting of restricted stock units (in shares) | | | | 136 | | | | | | | |
Vesting of restricted stock units | 2 | | | $ 2 | | | | | | | |
Issuance of common stock through employee stock purchase plan (in shares) | | | | 98 | | | | | | | |
Issuance of common stock through employee stock purchase plan | 4,466 | | | $ 1 | 4,465 | | | | | | |
Acquisition of common stock for tax withholding obligations | (1,815) | | | | (1,815) | | | | | | |
Stock-based compensation | 21,103 | | | | 21,103 | | | | | | |
Other comprehensive income | (1,065) | | | | | | | (1,065) | | | |
Net loss attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | (10,665) | | | | 1,185 | | | | (11,850) | | |
Ending Balance (in shares) at Jun. 30, 2022 | | | | 59,573 | | | | | | | |
Ending Balance at Jun. 30, 2022 | $ 79,183 | | | $ 596 | $ 344,264 | | | $ (952) | $ (264,725) | | |