Condensed Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Total | Cumulative Effect, Period of Adoption, Adjustment | Common Stock | Additional Paid-In Capital | Additional Paid-In Capital Cumulative Effect, Period of Adoption, Adjustment | Treasury Stock | Accumulated Other Comprehensive Loss | Accumulated Deficit | Accumulated Deficit Cumulative Effect, Period of Adoption, Adjustment |
Beginning balance (in shares) at Mar. 31, 2021 | | | 64,019,000 | | | | | | |
Beginning balance at Mar. 31, 2021 | $ 413,975 | $ (45,926) | $ 64 | $ 1,001,309 | $ (100,136) | $ (263) | $ (19) | $ (587,116) | $ 54,210 |
Beginning balance, treasury stock (in shares) at Mar. 31, 2021 | | | | | | 260,000 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Effect of adoption of ASU [Extensible Enumeration] | Accounting Standards Update 2020-06 | | | | | | | | |
Ending balance (in shares) at Jun. 30, 2021 | | | 64,966,000 | | | | | | |
Ending balance, treasury stock (in shares) at Jun. 30, 2021 | | | | | | 260,000 | | | |
Ending balance at Jun. 30, 2021 | $ 350,143 | | $ 64 | 962,512 | | $ (263) | (850) | (611,320) | |
Beginning balance (in shares) at Mar. 31, 2021 | | | 64,019,000 | | | | | | |
Beginning balance at Mar. 31, 2021 | 413,975 | $ (45,926) | $ 64 | 1,001,309 | $ (100,136) | $ (263) | (19) | (587,116) | $ 54,210 |
Beginning balance, treasury stock (in shares) at Mar. 31, 2021 | | | | | | 260,000 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | 315,000 | | | | | | |
Issuance of common stock upon exercise of stock options | 7,614 | | | 7,614 | | | | | |
Issuance of common stock for vested restricted stock units (in shares) | | | 804,000 | | | | | | |
Issuance of common stock for vested restricted stock units | 0 | | $ 1 | (1) | | | | | |
Issuance of common stock related to employee stock purchase plan (in shares) | | | 100,000 | | | | | | |
Issuance of common stock related to employee stock purchase plan | 5,417 | | | 5,417 | | | | | |
Issuance of common stock related to acquisition of business (in shares) | | | 401,000 | | | | | | |
Issuance of common stock related to acquisition of business | 13,487 | | $ 0 | 13,487 | | | | | |
Stock-based compensation expense | 80,673 | | | 80,673 | | | | | |
Other comprehensive loss, net | (1,189) | | | | | | (1,189) | | |
Net loss attributable to New Relic | (132,183) | | | | | | | (132,183) | |
Ending balance (in shares) at Sep. 30, 2021 | | | 65,639,000 | | | | | | |
Ending balance, treasury stock (in shares) at Sep. 30, 2021 | | | | | | 260,000 | | | |
Ending balance at Sep. 30, 2021 | 341,868 | | $ 65 | 1,008,363 | | $ (263) | (1,208) | (665,089) | |
Beginning balance (in shares) at Jun. 30, 2021 | | | 64,966,000 | | | | | | |
Beginning balance at Jun. 30, 2021 | 350,143 | | $ 64 | 962,512 | | $ (263) | (850) | (611,320) | |
Beginning balance, treasury stock (in shares) at Jun. 30, 2021 | | | | | | 260,000 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | 123,000 | | | | | | |
Issuance of common stock upon exercise of stock options | 2,782 | | | 2,782 | | | | | |
Issuance of common stock for vested restricted stock units (in shares) | | | 450,000 | | | | | | |
Issuance of common stock related to employee stock purchase plan (in shares) | | | 100,000 | | | | | | |
Issuance of common stock related to employee stock purchase plan | 5,417 | | | 5,417 | | | | | |
Issuance of common stock related to acquisition of business (in shares) | | | 0 | | | | | | |
Issuance of common stock related to acquisition of business | 0 | | $ 0 | 0 | | | | | |
Stock-based compensation expense | 37,653 | | | 37,653 | | | | | |
Other comprehensive loss, net | (358) | | | | | | (358) | | |
Net loss attributable to New Relic | (53,769) | | | | | | | (53,769) | |
Ending balance (in shares) at Sep. 30, 2021 | | | 65,639,000 | | | | | | |
Ending balance, treasury stock (in shares) at Sep. 30, 2021 | | | | | | 260,000 | | | |
Ending balance at Sep. 30, 2021 | $ 341,868 | | $ 65 | 1,008,363 | | $ (263) | (1,208) | (665,089) | |
Beginning balance (in shares) at Mar. 31, 2022 | 66,988,000 | | 66,988,000 | | | | | | |
Beginning balance at Mar. 31, 2022 | $ 322,704 | | $ 66 | 1,114,221 | | $ (263) | (8,012) | (783,308) | |
Beginning balance, treasury stock (in shares) at Mar. 31, 2022 | 260,000 | | | | | 260,000 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | 269,000 | | 269,000 | | | | | | |
Issuance of common stock upon exercise of stock options | $ 6,502 | | $ 0 | 6,502 | | | | | |
Issuance of common stock for vested restricted stock units (in shares) | | | 938,000 | | | | | | |
Issuance of common stock for vested restricted stock units | 0 | | $ 2 | (2) | | | | | |
Issuance of common stock related to employee stock purchase plan (in shares) | | | 103,000 | | | | | | |
Issuance of common stock related to employee stock purchase plan | 6,062 | | | 6,062 | | | | | |
Issuance of common stock related to acquisition of business (in shares) | | | 270,000 | | | | | | |
Issuance of common stock related to acquisition of business | 12,112 | | | 12,112 | | | | | |
Stock-based compensation expense | 76,420 | | | 76,420 | | | | | |
Other comprehensive loss, net | (3,821) | | | | | | (3,821) | | |
Net loss attributable to New Relic | $ (97,014) | | | | | | | (97,014) | |
Ending balance (in shares) at Sep. 30, 2022 | 68,568,000 | | 68,568,000 | | | | | | |
Ending balance, treasury stock (in shares) at Sep. 30, 2022 | 260,000 | | | | | 260,000 | | | |
Ending balance at Sep. 30, 2022 | $ 322,965 | | $ 68 | 1,215,315 | | $ (263) | (11,833) | (880,322) | |
Beginning balance (in shares) at Jun. 30, 2022 | | | 67,542,000 | | | | | | |
Beginning balance at Jun. 30, 2022 | 308,922 | | $ 67 | 1,152,613 | | $ (263) | (9,948) | (833,547) | |
Beginning balance, treasury stock (in shares) at Jun. 30, 2022 | | | | | | 260,000 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | | 173,000 | | | | | | |
Issuance of common stock upon exercise of stock options | 4,777 | | $ 0 | 4,777 | | | | | |
Issuance of common stock for vested restricted stock units (in shares) | | | 480,000 | | | | | | |
Issuance of common stock for vested restricted stock units | | | $ 1 | (1) | | | | | |
Issuance of common stock related to employee stock purchase plan (in shares) | | | 103,000 | | | | | | |
Issuance of common stock related to employee stock purchase plan | 6,062 | | | 6,062 | | | | | |
Issuance of common stock related to acquisition of business (in shares) | | | 270,000 | | | | | | |
Issuance of common stock related to acquisition of business | 12,112 | | | 12,112 | | | | | |
Stock-based compensation expense | 39,752 | | | 39,752 | | | | | |
Other comprehensive loss, net | (1,885) | | | | | | (1,885) | | |
Net loss attributable to New Relic | $ (46,775) | | | | | | | (46,775) | |
Ending balance (in shares) at Sep. 30, 2022 | 68,568,000 | | 68,568,000 | | | | | | |
Ending balance, treasury stock (in shares) at Sep. 30, 2022 | 260,000 | | | | | 260,000 | | | |
Ending balance at Sep. 30, 2022 | $ 322,965 | | $ 68 | $ 1,215,315 | | $ (263) | $ (11,833) | $ (880,322) | |